Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
85:87bc28b151d8
Parent:
82:3211b31e9421
--- a/Settings/Settings.h	Tue May 26 14:39:45 2020 +0000
+++ b/Settings/Settings.h	Tue May 26 19:38:48 2020 +0000
@@ -7,19 +7,19 @@
 #include "Gamepad.h"
 #include "Sprites.h"
 
-/** Enum for diffent menu parts*/
+/** Enum for different menu parts*/
 enum SettingsParts {contrast, controls, sound_fx, music };
 
-/** Enum for diffent control settings parts, joystick and accelerometer*/
+/** Enum for different control settings parts, joystick and accelerometer*/
 enum ControlsParts {joy, acc};
 
-/** Enum for diffent sound setting parts*/
+/** Enum for different sound setting parts*/
 enum SoundParts {on, off};
 
-/** Enum for diffent music setting parts*/
+/** Enum for different music setting parts*/
 enum MusicParts {music_on, music_off};
 
-/** scroll_orderStruct
+/** scroll_order Struct
  * @brief Struct hold differnt settings orders
  */   
 struct scroll_order_setting {
@@ -29,7 +29,7 @@
 };
 
 /** On/off sound fx Struct
- * @brief Struct hold differnt sound fx orders
+ * @brief Struct hold different sound fx orders
  */   
 struct on_off_order {
     SoundParts part_next; /**< Next onoff part */
@@ -44,7 +44,7 @@
     MusicParts part_displayed; /**< Displayed onoff part */
 };
 
-/** Controll_orderStruct
+/** Controll_order Struct
  * @brief Struct hold differnt controls orders
  */   
 struct control_order {
@@ -65,7 +65,7 @@
         /** Destructor */
         ~Settings();
         
-        /** Initalises Settings*/
+        /** Initialises Settings*/
         void init();
         
         /** Draws the settings screen
@@ -79,24 +79,24 @@
          */
         void change_setting(bool pressed);
         
-        /** Scrolls through the diffent settings parts
+        /** Scrolls through the different settings parts
          * @param d_ @details Direction of joystick
          */
         void settings_scroll(Direction d_);
         
     // Accessors and mutators --------------------------------------------------
         
-        /** Return the control method that set in setting menu  
+        /** Return the control method that set-in setting menu  
          * @return control_method_
          */
         ControlsParts get_control_method();
         
-        /** Return the sound method that set in setting menu  
+        /** Return the sound method that set-in setting menu  
          * @return sound_method_
          */
         SoundParts get_sound_method();
         
-        /** Return the music method that set in setting menu  
+        /** Return the music method that set-in setting menu  
          * @return music_method_
          */
         MusicParts get_music_method();
@@ -126,4 +126,4 @@
         SettingsParts displayed_settings_part_;
     
 };
-#endif
\ No newline at end of file
+#endif