Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
Diff: classes/FishEngine.h
- Revision:
- 12:20ac766b3175
- Parent:
- 11:7c1e2a9303d3
- Child:
- 13:183bd19f3d7d
diff -r 7c1e2a9303d3 -r 20ac766b3175 classes/FishEngine.h --- a/classes/FishEngine.h Wed Apr 21 11:08:02 2021 +0000 +++ b/classes/FishEngine.h Wed Apr 21 15:24:31 2021 +0000 @@ -17,16 +17,26 @@ //calls the title sequence void titleSequence(N5110 &lcd); - //call the games main menu + //calls the games main menu void mainMenu(N5110 &lcd, Tone &dac, Joystick &joystick); + //calls game play from Game.h void gamePlay(N5110 &lcd, Tone &dac, Joystick &joystick); + + //calls display_File(lcd) from HighScore.h void highScore(N5110 &lcd); + + //displays player instructions void Instructions(N5110 &lcd); private: + int ButtonA; + int ButtonB; int playerScore; int fileValue; + int state; + int direction; + int y_pos; }; #endif \ No newline at end of file