This commit is contained in:
parent
cece6ee0fd
commit
991083d6b5
6 changed files with 87 additions and 50 deletions
|
@ -183,6 +183,8 @@ public:
|
|||
int isRecoveringFromHit() {return m_invincibleFrameCount!=0||m_currentMode==PLAYER_MODE_DEAD;}
|
||||
|
||||
void registerAddon(PLAYER_ADDONS _addon);
|
||||
DVECTOR *getMoveVelocity() {return &m_moveVelocity;}
|
||||
void setMoveVelocity(const DVECTOR *_moveVelocity) {m_moveVelocity=*_moveVelocity;}
|
||||
|
||||
public:
|
||||
void setMode(PLAYER_MODE _mode);
|
||||
|
@ -196,6 +198,10 @@ public:
|
|||
private:
|
||||
void playAnimFrameSfx(int _animNo,int _animFrame);
|
||||
|
||||
DVECTOR m_moveVelocity;
|
||||
|
||||
|
||||
|
||||
public:
|
||||
DVECTOR getPlayerPos() {return Pos;}
|
||||
void setPlayerPos(DVECTOR *_pos) {Pos=*_pos;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue