SBSPSS/source/enemy/ngary.cpp
Charles 12e8907ece
2001-02-12 17:52:04 +00:00

29 lines
No EOL
466 B
C++

/*=========================================================================
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;
}
}