This commit is contained in:
parent
b4440f97b9
commit
8e3f39f3d9
6 changed files with 39 additions and 9 deletions
|
@ -121,6 +121,16 @@ typedef enum
|
|||
}PLAYERINPUT;
|
||||
|
||||
|
||||
// For getAttackState()
|
||||
typedef enum
|
||||
{
|
||||
ATTACK_STATE__NONE,
|
||||
ATTACK_STATE__KARATE,
|
||||
ATTACK_STATE__BUTT_BOUNCE,
|
||||
} ATTACK_STATE;
|
||||
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Structure defintions
|
||||
-------------------- */
|
||||
|
@ -153,6 +163,8 @@ public:
|
|||
|
||||
void addHealth(int _health);
|
||||
void addLife();
|
||||
ATTACK_STATE getAttackState();
|
||||
int isRecoveringFromHit() {return m_invincibleFrameCount!=0;}
|
||||
|
||||
public:
|
||||
void setMode(PLAYER_MODE _mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue