ELEC2645 (2018/19) / Mbed 2 deprecated el17aio

Dependencies:   mbed

Revision:
30:711d722f3cef
Parent:
29:4c7b16b5b6df
Child:
32:098fbc1222cd
diff -r 4c7b16b5b6df -r 711d722f3cef RosenEngine/RosenEngine.h
--- a/RosenEngine/RosenEngine.h	Fri Apr 19 02:40:08 2019 +0000
+++ b/RosenEngine/RosenEngine.h	Fri Apr 19 19:40:01 2019 +0000
@@ -27,7 +27,7 @@
     int get_ycursor();
     int get_shipno();
     void ship_select(N5110 &lcd);
-    void score();
+
     
     int ship_xpos; 
     int ship_ypos; 
@@ -39,6 +39,7 @@
     bool ship_projectile_collision();
     bool enemy_ship_collision();
     bool enemy_projectile_collision();   
+    void score(int points);
     
     // Variables
     Ship _ship;
@@ -51,6 +52,7 @@
     Direction _d;
     int _ycursor;
     int _shipno;
+    int _score;
     
 
 };
@@ -65,6 +67,6 @@
 **** orion should send out pulses that stun enemy ships and absorb thier shields(use draw line)
 **** scale shields properly
 **** fix the border issue(i.e the ships clip through healthbar)
-
+**** make it so enemy ship spawning is random use srand
 */
 #endif
\ No newline at end of file