ELEC2645 (2017/18) / Mbed 2 deprecated el17yw

Dependencies:   mbed

Revision:
3:1a134243e2f0
Parent:
2:421fb0670c5c
Child:
5:0a116644cce2
--- a/rec/rect.h	Thu Apr 12 22:46:30 2018 +0000
+++ b/rec/rect.h	Sun Apr 15 17:36:29 2018 +0000
@@ -9,7 +9,7 @@
 public:
    rect();
    ~rect();
-   void init(int x);
+   void init(int x,int y);
    void draw(N5110 &lcd);
    void update(Direction d,float mag);
    Vector2D get_pos();
@@ -18,12 +18,7 @@
     int rect_x;
     int rect_y;
     int rect_speed;
-    
-    int bullet_x;
-    int bullet_y;
-    int bullet_speed;
-   
-    
+
 };