Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: GameEngine/GameEngine.h
- Revision:
- 41:5959256f4aab
- Parent:
- 40:71f947254fda
- Child:
- 42:3aed75338272
--- a/GameEngine/GameEngine.h Sun May 17 21:12:34 2020 +0000 +++ b/GameEngine/GameEngine.h Sun May 17 23:40:34 2020 +0000 @@ -40,6 +40,23 @@ private: // Function prototypes ----------------------------------------------------- + // Menu Control + /** Switch statement to run run different menu options */ + void game_select_part(); + + /** Runs the menu */ + void run_menu(); + + /** Runs the play game part of menu */ + void run_play(); + + /** Runs settings part of games */ + void run_settings(); + + /** Runs settings part of games*/ + void run_saved_games(); + + //Spaceship Control /** Gets joystick direction from gamepad and stores it in d_ */ void read_joystick_direction(); @@ -111,6 +128,10 @@ void reset_map(); // Variables --------------------------------------------------------------- + + // Menu Control + + MenuParts current_menu_part_; //Spacehip Control /** Define points*/