mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Ajout flags collision player
This commit is contained in:
parent
e1ce1e5f0d
commit
2861a13370
@ -49,6 +49,9 @@ public:
|
||||
const int gravity = 90;
|
||||
const int power_jump = -250;
|
||||
bool on_ground = false;
|
||||
bool on_roof = false;
|
||||
bool on_left_wall = false;
|
||||
bool on_right_wall = false;
|
||||
bool right;
|
||||
bool left;
|
||||
bool jump;
|
||||
|
Loading…
Reference in New Issue
Block a user