Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
classes/FishEngine.h
- Committer:
- el18a2k
- Date:
- 2021-04-21
- Revision:
- 11:7c1e2a9303d3
- Parent:
- 10:e221bd1ce3ec
- Child:
- 12:20ac766b3175
File content as of revision 11:7c1e2a9303d3:
#ifndef FISHENGINE_H #define FISHENGINE_H #include "N5110.h" #include "Tone.h" #include "ShiftReg.h" #include "Joystick.h" #include "Game.h" #include "Graphics.h" #include "Settings.h" #include "HighScore.h" class FishEngine { public: //calls the title sequence void titleSequence(N5110 &lcd); //call the games main menu void mainMenu(N5110 &lcd, Tone &dac, Joystick &joystick); void gamePlay(N5110 &lcd, Tone &dac, Joystick &joystick); void highScore(N5110 &lcd); void Instructions(N5110 &lcd); private: int playerScore; int fileValue; }; #endif