ELEC2645 (2017/18) / Mbed 2 deprecated el17yw

Dependencies:   mbed

Revision:
27:eab2cf10554e
Parent:
19:362ad1cd6d4a
Child:
28:85ddd500a116
--- a/rec/rect.h	Mon Apr 30 19:12:41 2018 +0000
+++ b/rec/rect.h	Mon Apr 30 20:29:26 2018 +0000
@@ -9,12 +9,16 @@
 public:
    rect();
    ~rect();
+   
    void init(int x,int y);
    void draw(N5110 &lcd);
    void update(Direction d,float mag);
+   
+   
+   int get_score();
+   void init_score();
    void add_score();
    void minus_score();
-   int get_score();
    
    Vector2D get_pos();
    void set_pos(Vector2D p);