Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
classes/FishEngine.h@8:fe51fbf81dee, 2021-03-29 (annotated)
- Committer:
- el18a2k
- Date:
- Mon Mar 29 20:32:45 2021 +0000
- Revision:
- 8:fe51fbf81dee
- Parent:
- 6:7aafcaf7cbe2
- Child:
- 10:e221bd1ce3ec
Instructions and settings complete
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el18a2k | 1:7dfa61225fcf | 1 | #ifndef FISHENGINE_H |
el18a2k | 1:7dfa61225fcf | 2 | #define FISHENGINE_H |
el18a2k | 1:7dfa61225fcf | 3 | |
el18a2k | 1:7dfa61225fcf | 4 | #include "N5110.h" |
el18a2k | 1:7dfa61225fcf | 5 | #include "Tone.h" |
el18a2k | 1:7dfa61225fcf | 6 | #include "ShiftReg.h" |
el18a2k | 2:532b0225519f | 7 | #include "Joystick.h" |
el18a2k | 1:7dfa61225fcf | 8 | |
el18a2k | 1:7dfa61225fcf | 9 | #include "Graphics.h" |
el18a2k | 6:7aafcaf7cbe2 | 10 | #include "Settings.h" |
el18a2k | 1:7dfa61225fcf | 11 | |
el18a2k | 1:7dfa61225fcf | 12 | class FishEngine { |
el18a2k | 1:7dfa61225fcf | 13 | |
el18a2k | 1:7dfa61225fcf | 14 | public: |
el18a2k | 2:532b0225519f | 15 | //calls the title sequence |
el18a2k | 1:7dfa61225fcf | 16 | void titleSequence(N5110 &lcd); |
el18a2k | 2:532b0225519f | 17 | |
el18a2k | 2:532b0225519f | 18 | //call the games main menu |
el18a2k | 2:532b0225519f | 19 | void mainMenu(N5110 &lcd, Tone &dac, Joystick &joystick); |
el18a2k | 2:532b0225519f | 20 | |
el18a2k | 8:fe51fbf81dee | 21 | //void gamePlay(N5110 &lcd, Tone &dac); |
el18a2k | 8:fe51fbf81dee | 22 | //void highScore(N5110 &lcd); |
el18a2k | 4:db929dab4f13 | 23 | void Instructions(N5110 &lcd); |
el18a2k | 1:7dfa61225fcf | 24 | }; |
el18a2k | 1:7dfa61225fcf | 25 | |
el18a2k | 1:7dfa61225fcf | 26 | #endif |