ELEC2645 (2017/18) / Mbed 2 deprecated el17yw

Dependencies:   mbed

Revision:
25:1d91ab97d86a
Parent:
24:14489d259ffb
--- a/rec/rect.h	Mon Apr 30 16:40:32 2018 +0000
+++ b/rec/rect.h	Mon Apr 30 18:07:51 2018 +0000
@@ -9,13 +9,15 @@
 public:
    rect();
    ~rect();
+   
+   int get_score();
+   
    void init();
    void draw(N5110 &lcd);
-   void update(Direction d,float mag);
+   void update(Direction d);
    void add_score();
    void minus_score();
    void init_score();
-   int get_score();
    
    Vector2D get_pos();
    void set_pos(Vector2D p);