test 1 doc

Dependencies:   mbed Gamepad2

Revision:
11:b3024ab59fa5
Parent:
10:9317a62bd4d0
Child:
12:eb8d30593e95
diff -r 9317a62bd4d0 -r b3024ab59fa5 Engine/Engine.h
--- a/Engine/Engine.h	Wed May 27 02:00:08 2020 +0000
+++ b/Engine/Engine.h	Wed May 27 03:52:11 2020 +0000
@@ -7,6 +7,7 @@
 #include "Player.h"
 #include "Platform.h"
 #include "Enemy.h"
+#include "Coin.h"
 #include <vector>
 
 void drawMap(N5110 &lcd);
@@ -24,8 +25,9 @@
     void draw(N5110 &lcd);
     void floorCollide();
     void spawnEnemy();
-    void ennemyCollide();    
-
+    bool enemyCollide();  
+    void gameOver(N5110 &lcd);
+    bool ko;
     
 private:
     
@@ -43,7 +45,6 @@
     
     //physics
     bool _jump;
-    int _oldY;
     int _Ypos;
     bool _fall;
     bool _c;