ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
21:6b16ca9834e6
Parent:
20:a359092079b0
Child:
22:0d2ac98a8b48
diff -r a359092079b0 -r 6b16ca9834e6 Engine/Engine.h
--- a/Engine/Engine.h	Thu Apr 25 11:34:01 2019 +0000
+++ b/Engine/Engine.h	Wed May 01 16:40:35 2019 +0000
@@ -17,11 +17,15 @@
     void update(Gamepad &pad);
     void draw(N5110 &lcd);
     void check_floors_collision();
+    void add_score();
+    void print_score(N5110 &lcd);
     
 private:
     Bullet _b;
     float _b_pos_x;
     float _b_pos_y;
+    
+    int _score;
 
     Floors _f; 
     Floors _f1;