ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_Project_ll17lrc_v2

Dependencies:   mbed

Revision:
5:5c132202b642
Parent:
4:a9d5fca3b7ba
Child:
7:35465b3bf586
--- a/Ball/Ball.h	Sun May 17 15:55:47 2020 +0000
+++ b/Ball/Ball.h	Sun May 17 19:09:13 2020 +0000
@@ -16,7 +16,7 @@
 public:
     Ball();
     ~Ball();
-    void init(int ball_x_pos,int ball_y_pos);
+    void init();
     void draw(N5110 &lcd);
     void update(Direction d);
     void level_finish();
@@ -29,6 +29,8 @@
     int ball_x_pos;
     int ball_y_pos;
     int ball;
+    int x_pos;
+    int y_pos;
 
 };
 #endif
\ No newline at end of file