explorer game

Dependencies:   mbed

Revision:
12:bb89733cc51a
Parent:
11:6740108a0825
Child:
13:30330d61f09c
--- a/explorer/explorer.h	Mon Apr 27 14:37:34 2020 +0000
+++ b/explorer/explorer.h	Mon Apr 27 14:43:10 2020 +0000
@@ -13,10 +13,6 @@
 @code
 
 #include "mbed.h"
-#include "Gamepad.h"
-#include "surface.h"
-
-#include "mbed.h"
 #include "N5110.h"
 #include "Gamepad.h"
 #include "explorer.h"
@@ -68,7 +64,9 @@
 }
 @endcode
 */
-
+#include "mbed.h"
+#include "Gamepad.h"
+#include "surface.h"
 //use the enum to define the value we need for the explorer
 enum Explorer_sprite {Move_right,Move_left,Stand_left, Stand_right};
 //we have four sprite form so we can define the sprite on the screen by using these enum
@@ -115,13 +113,13 @@
   int _jump_height;
   bool _f_flag;
   bool _r_flag;
-  Line _line_1;
-  Line _line_2;
-  Line _line_3;
-  Line _line_4;
-  Line _line_5;
-  Line _line_6;
-  Player_direction _player_direction;
-  Explorer_sprite _explorer_sprite;   
+Line _line_1;
+Line _line_2;
+Line _line_3;
+Line _line_4;
+Line _line_5;
+Line _line_6;
+Player_direction _player_direction;
+Explorer_sprite _explorer_sprite;   
 };
 #endif