ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_ll17lrc_v2

Dependencies:   mbed

Revision:
4:a9d5fca3b7ba
Parent:
3:4494e6928194
Child:
5:5c132202b642
--- a/Ball/Ball.h	Sat May 16 15:51:02 2020 +0000
+++ b/Ball/Ball.h	Sun May 17 15:55:47 2020 +0000
@@ -19,12 +19,16 @@
     void init(int ball_x_pos,int ball_y_pos);
     void draw(N5110 &lcd);
     void update(Direction d);
-    
-    int ball_x_pos;
-    int ball_y_pos;
+    void level_finish();
+    int get_ball_x_pos();
+    int get_ball_y_pos();
     /// accessors and mutators
     
 private:
 
+    int ball_x_pos;
+    int ball_y_pos;
+    int ball;
+
 };
 #endif
\ No newline at end of file