Meteor defense project

Dependencies:   N5110 mbed

Revision:
44:aa086363d09f
Parent:
43:acbed608a8df
Child:
45:1a013017ae92
diff -r acbed608a8df -r aa086363d09f GameEngine/GameEngine.h
--- a/GameEngine/GameEngine.h	Mon May 01 17:55:38 2017 +0000
+++ b/GameEngine/GameEngine.h	Wed May 03 21:00:43 2017 +0000
@@ -72,6 +72,7 @@
     /**Reset the game
     *
     *Only thing requires reset is the array and weapon's variables
+    *Happens when player give up on the game
     */
     void reset_Game();
     
@@ -82,7 +83,7 @@
     //Main and secondary array required to allow the spawn move and to take damage
     Array main;
     Array scnd;
-    //Retry array - when player press retry this array will be used
+    //Retry array - when player press retry, this array will be used
     Array retry;
     
     
@@ -123,8 +124,11 @@
     //After a loop in the game, the main array will be updated using the secondary array
     void updateArray();
     
-    
-    
+    /**Game over
+    *
+    *This function will be executed when player loses
+    *Allows player to retry the wave or give up.
+    */    
     void gameOver(Gamepad &pad, N5110 &lcd);