Menu class used as basis for program; running the game and allowing the user to change the style and difficulty of the game via an interface.
Diff: Menu.h
- Revision:
- 5:56f13954666e
- Parent:
- 4:4f20bcef2c0c
- Child:
- 6:2a05dd8b9750
--- a/Menu.h Mon May 01 09:13:40 2017 +0000 +++ b/Menu.h Wed May 03 21:13:31 2017 +0000 @@ -20,6 +20,9 @@ #include "Maze.h" #include "Ball.h" +#define G 196.00 +#define C + class Menu { @@ -70,11 +73,12 @@ void soundEffects(N5110 &lcd, Gamepad &pad, Animations &animate); void speedSettings(N5110 &lcd, Gamepad &pad); - int randomMazeIndexGenerator(int mazeIndex); - + int randomMazeIndexGenerator(int difficulty); + MazeEngine _engine; int _mazeIndex; + int _difficulty; float _FPS;