ELEC2645 (2018/19) / Mbed 2 deprecated el17ebs

Dependencies:   mbed FATFileSystem

Revision:
12:7f7fadb5c106
Parent:
10:9f54a6366e94
Child:
13:681192091568
--- a/GolfEngine/GolfEngine.h	Thu Apr 25 15:16:38 2019 +0000
+++ b/GolfEngine/GolfEngine.h	Fri May 03 09:39:24 2019 +0000
@@ -13,7 +13,6 @@
 * @date May, 2018
 */
 
-
 class GolfEngine 
 {
 
@@ -35,33 +34,34 @@
     
     void update_ball(Gamepad &pad);
     
-    void drawCourseWalls(N5110 &lcd, WallMap map[], int size);
-    
-    void drawHole(N5110 &lcd, Coord hole);
-    
     void printLevel(N5110 &lcd);
-    
+                
     void set_level(int level);
 
     int get_level();
     
+    void reset_hole_flag(); 
+    
     bool get_hole_flag();
     
-    void reset_hole_flag(); 
-
 private:
 
-    int _x_pos;
-    int _y_pos;
+    void drawCourseWalls(N5110 &lcd, WallMap map[], int size);
+    
+    void drawHole(N5110 &lcd, Coord hole);
+
     int _level;
+    
     bool _hole_flag;
     
     float _mag;
+    
     Vector2D _joy_coord;
+    
     float _angle;
 
     Ball _ball;
-
+    
 };
 
 #endif
\ No newline at end of file