Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
classes/FishEngine.h
- Committer:
- el18a2k
- Date:
- 2021-03-25
- Revision:
- 6:7aafcaf7cbe2
- Parent:
- 5:02e7b5197827
- Child:
- 8:fe51fbf81dee
File content as of revision 6:7aafcaf7cbe2:
#ifndef FISHENGINE_H #define FISHENGINE_H #include "N5110.h" #include "Tone.h" #include "ShiftReg.h" #include "Joystick.h" #include "Graphics.h" #include "Settings.h" class FishEngine { public: //initializes the board void system_init(N5110 &lcd, Tone &dac, Joystick &joystick);//passes N5110 and points to lcd, passes Tone and points to dac ect... //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); void highScore(N5110 &lcd); void Instructions(N5110 &lcd); int Settings(N5110 &lcd, Tone &dac, Joystick &joystick); }; #endif