![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
test 1 doc
Diff: Engine/Engine.h
- Revision:
- 7:530ca713d2b2
- Parent:
- 6:00d20886e4f8
- Child:
- 8:d19b30a6cd69
--- a/Engine/Engine.h Mon May 25 16:17:58 2020 +0000 +++ b/Engine/Engine.h Tue May 26 01:45:20 2020 +0000 @@ -7,7 +7,6 @@ #include "Player.h" #include "Platform.h" - void drawMap(N5110 &lcd); class Engine @@ -21,22 +20,25 @@ void read_input(Gamepad &pad); void update(Gamepad &pad); void draw(N5110 &lcd); - bool floorCollide(); - + void floorCollide(); + -private: +private: void ennemyCollide(Gamepad &pad); - + //player object Player _p; // player coordinates int _px; int _py; - + + Direction _d; float _mag; - bool _collision; - + bool _jump; + int _Ypos; + bool _fall; + bool _collide; }; #endif \ No newline at end of file