From 2861a1337015ac1d3908148221d37582a59b0682 Mon Sep 17 00:00:00 2001 From: Amaury Date: Tue, 21 Apr 2020 10:12:59 +0200 Subject: [PATCH] Ajout flags collision player --- DungeonAndDeamonScript/DungeonAndDemaonScript/GestionPlayer.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DungeonAndDeamonScript/DungeonAndDemaonScript/GestionPlayer.h b/DungeonAndDeamonScript/DungeonAndDemaonScript/GestionPlayer.h index bfa77b4..762bdba 100644 --- a/DungeonAndDeamonScript/DungeonAndDemaonScript/GestionPlayer.h +++ b/DungeonAndDeamonScript/DungeonAndDemaonScript/GestionPlayer.h @@ -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;