Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
85:87bc28b151d8
Parent:
82:3211b31e9421
diff -r f61c85a5f13a -r 87bc28b151d8 Menu/Menu.h
--- a/Menu/Menu.h	Tue May 26 14:39:45 2020 +0000
+++ b/Menu/Menu.h	Tue May 26 19:38:48 2020 +0000
@@ -7,7 +7,7 @@
 #include "Gamepad.h"
 #include "Sprites.h"
 
-/** Enum for diffent menu parts*/
+/** Enum for defend menu parts*/
 enum MenuParts {play, settings, saved_games, high_score, main_menu};
 
 /** scroll_orderStruct
@@ -20,7 +20,7 @@
 };
 
 /** Explosion class
- * @brief Selects and draws differnt menu parts 
+ * @brief Selects and draws different menu parts 
  * @author Benjamin Evans, University of Leeds
  * @date May 2020
  */      
@@ -32,11 +32,11 @@
         /** Destructor */
         ~Menu();
         
-        /** Initalises Menu*/
+        /** Initialises Menu*/
         void init();
       
         /** Sets the current menu part to the displayed when a is pressed
-         * @param pressed @details Buttom A pressed 
+         * @param pressed @details Bottom A pressed 
          */
         void select_part(bool pressed);
         
@@ -45,7 +45,7 @@
          */
         void draw_part(N5110 &lcd);
         
-        /** Scrolls through the diffent menu parts
+        /** Scrolls through the different menu parts
          * @param d_ @details Direction of joystick
          */
         void menu_scroll(Direction d_);
@@ -60,7 +60,7 @@
     private: 
     // Function prototypes -----------------------------------------------------  
        
-        /** Prints the tile screen by printing differnt letter sprites 
+        /** Prints the tile screen by printing different letter sprites 
          * @param lcd @details N5110 object
          */ 
          void title_screen(N5110 &lcd);
@@ -68,7 +68,7 @@
         /** Time-triggered interrupt to flash title screen */
         void title_screen_isr();
        
-    // Varibles ---------------------------------------------------------------- 
+    // Variables ---------------------------------------------------------------- 
     
         /** The part of the menu that is displayed */ 
         MenuParts displayed_menu_part_;
@@ -82,4 +82,4 @@
         /** Define Ticker object for flash title screen */
         Ticker ticker_title; 
 };
-#endif
\ No newline at end of file
+#endif