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.
Dependencies: mbed
Diff: Game/Game.h
- Revision:
- 32:9c250eda7f3f
- Parent:
- 31:e681177037ef
- Child:
- 34:5cb9b4d01f5c
--- a/Game/Game.h Fri Apr 05 15:34:28 2019 +0000
+++ b/Game/Game.h Fri Apr 05 15:43:27 2019 +0000
@@ -1,4 +1,3 @@
-#include <vector>
#ifndef FACE_H
#define FACE_H
#include "Face.h"
@@ -10,14 +9,15 @@
#endif
#include "Gamepad.h"
#include "mbed.h"
+#include "SDFileSystem.h"
/** Game class
-*@brief A class used to instantiate a cube object, this is the obstacle in the game
+*@brief A class used to instantiate a game object, this is used to run the game
*@author Christopher Doel
*@date April, 2019
*/
-struct Input{
+struct Input{ //Stores current details of required inputs
float x;
bool yButton;
bool aButton;
@@ -28,7 +28,7 @@
};
-struct MenuSelections{
+struct MenuSelections{ //stores the current selections in both menus
int deathMenuSelection;
int homeMenuSelection;
};