This commit is contained in:
parent
13b012d19d
commit
cb4e61508c
2 changed files with 61 additions and 14 deletions
|
@ -157,11 +157,11 @@ protected:
|
|||
{
|
||||
DEFAULT_PLAYER_JUMP_VELOCITY=4,
|
||||
DEFAULT_PLAYER_MAX_JUMP_FRAMES=12,
|
||||
DEFAULT_PLAYER_MAX_SAFE_FALL_FRAMES=20,
|
||||
DEFAULT_PLAYER_MAX_SAFE_FALL_FRAMES=30,
|
||||
DEFAULT_PLAYER_MAX_RUN_VELOCITY=8,
|
||||
DEFAULT_PLAYER_RUN_SPEEDUP=4,
|
||||
DEFAULT_PLAYER_RUN_REVERSESLOWDOWN=2,
|
||||
DEFAULT_PLAYER_RUN_SLOWDOWN=1,
|
||||
DEFAULT_PLAYER_RUN_REVERSESLOWDOWN=3,
|
||||
DEFAULT_PLAYER_RUN_SLOWDOWN=2,
|
||||
PLAYER_GRAVITY=4,
|
||||
PLAYER_TERMINAL_VELOCITY=8,
|
||||
};
|
||||
|
@ -186,6 +186,7 @@ protected:
|
|||
|
||||
// Collision
|
||||
int isOnSolidGround();
|
||||
int isOnSlippySurface();
|
||||
int isOnEdge();
|
||||
int canMoveLeft();
|
||||
int canMoveRight();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue