This commit is contained in:
parent
8939879b29
commit
5ae24ce649
1 changed files with 2 additions and 1 deletions
|
@ -149,6 +149,7 @@ public:
|
||||||
virtual void think(int _frames);
|
virtual void think(int _frames);
|
||||||
virtual void render();
|
virtual void render();
|
||||||
virtual void shove(DVECTOR move);
|
virtual void shove(DVECTOR move);
|
||||||
|
// virtual int moveVertical(int _moveDistance);
|
||||||
virtual void setHasPlatformCollided( bool newVal );
|
virtual void setHasPlatformCollided( bool newVal );
|
||||||
virtual bool getHasPlatformCollided();
|
virtual bool getHasPlatformCollided();
|
||||||
|
|
||||||
|
@ -166,7 +167,7 @@ public:
|
||||||
void addHealth(int _health);
|
void addHealth(int _health);
|
||||||
void addLife();
|
void addLife();
|
||||||
ATTACK_STATE getAttackState();
|
ATTACK_STATE getAttackState();
|
||||||
int isRecoveringFromHit() {return m_invincibleFrameCount!=0;}
|
int isRecoveringFromHit() {return m_invincibleFrameCount!=0||m_currentMode==PLAYER_MODE_DEAD;}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void setMode(PLAYER_MODE _mode);
|
void setMode(PLAYER_MODE _mode);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue