/*========================================================================= ngary.cpp Author: CRB Created: Project: Spongebob Purpose: Copyright (c) 2000 Climax Development Ltd ===========================================================================*/ #ifndef __ENEMY_NPC_H__ #include "enemy\npc.h" #endif void CNpc::processGaryMovement( int _frames ) { if ( isCollisionWithGround() ) { Pos.vx += _frames; } else { Pos.vy += _frames; } }