ELEC2645 (2017/18) / Mbed 2 deprecated fy15raf

Dependencies:   mbed

Revision:
16:106c27d03402
Parent:
15:658f1216ee84
--- a/GameEngine/GameEngine.h	Mon May 07 13:29:49 2018 +0000
+++ b/GameEngine/GameEngine.h	Mon May 07 18:27:42 2018 +0000
@@ -4,7 +4,7 @@
 #include "mbed.h"
 #include "N5110.h"
 #include "Gamepad.h"
-#include "Rocket.h"
+#include "Spaceship.h"
 #include "Asteroid.h"
 
 /** GameEngine Class
@@ -23,7 +23,7 @@
     ~GameEngine();
 
     /** Initialise the game elements: 
-    * rocket, asteroids, time, and 
+    * Spaceship, asteroids, time, and 
     * game over value             
     */   
     void init();
@@ -35,14 +35,14 @@
     void read_input(Gamepad &g_pad);
     
     /** Draw the game elements: 
-    * rocket, asteroids, hearts
+    * Spaceship, asteroids, hearts
     * and show the time 
     * @param LCD object (N5110) 
     */ 
     void draw(N5110 &lcd);
     
     /** Update the game elements: 
-    * rocket, asteroids, the hearts
+    * Spaceship, asteroids, the hearts
     * and the time 
     * @param gamepad object (Gamepad)
     */
@@ -102,7 +102,7 @@
     void check_collision3(Gamepad &pad);
         
     int gameOver;
-    Rocket _rocket;
+    Spaceship _Spaceship;
     Asteroid _asteroid1;
     Asteroid _asteroid2;
     Asteroid _asteroid3;