This commit is contained in:
parent
f477795249
commit
c309d5b9bd
2 changed files with 37 additions and 17 deletions
|
@ -112,6 +112,7 @@ public:
|
|||
protected:
|
||||
const PlayerMetrics *getPlayerMetrics();
|
||||
|
||||
// State
|
||||
void setState(PLAYER_STATE _state);
|
||||
int getFacing();
|
||||
void setFacing(int _facing);
|
||||
|
@ -124,8 +125,10 @@ protected:
|
|||
void setMoveVelocity(DVECTOR *_moveVel);
|
||||
virtual int getPadInput();
|
||||
|
||||
// Collision
|
||||
int isOnSolidGround();
|
||||
|
||||
// Movement
|
||||
void moveLeft();
|
||||
void moveRight();
|
||||
void slowdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue