Ajout flags collision player

This commit is contained in:
Amaury 2020-04-21 10:12:59 +02:00
parent e1ce1e5f0d
commit 2861a13370

View File

@ -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;