Mochu Yao explorer game

Dependencies:   mbed

Revision:
14:5e73a6e34c17
Parent:
13:30330d61f09c
Child:
23:7be9701fc1b8
--- a/Gameengine/Gameengine.h	Tue Apr 28 11:51:39 2020 +0000
+++ b/Gameengine/Gameengine.h	Tue Apr 28 11:55:05 2020 +0000
@@ -1,6 +1,20 @@
 #ifndef GAMEENGINE_H
 #define GAMEENGINE_H
 
+
+#include "N5110.h"
+#include "mbed.h"
+#include "Gamepad.h"
+#include "item.h"
+#include "explorer.h"
+#include "surface.h"
+#include <cstdlib>
+#include <ctime>
+
+struct Coordinate {
+  Vector2D coord; /**< Vector 2D for joystick coords */ 
+  };
+  
 //* @the enginee file has these functions
 //  1 make the whole explorer game run and set the score the reset process
 //  2 cheak the collision and the reset or fall flag
@@ -45,19 +59,6 @@
 @endcode
 */
 
-#include "N5110.h"
-#include "mbed.h"
-#include "Gamepad.h"
-#include "item.h"
-#include "explorer.h"
-#include "surface.h"
-#include <cstdlib>
-#include <ctime>
-
-struct Coordinate {
-  Vector2D coord; /**< Vector 2D for joystick coords */ 
-  };
-  
 class Gameengine {
  // Constructor and destructor.
 public: