Simple fish eat program

Dependencies:   mbed mbed-rtos N5110 ShiftReg Tone

Committer:
el18a2k
Date:
Tue Apr 20 15:35:00 2021 +0000
Revision:
10:e221bd1ce3ec
Parent:
8:fe51fbf81dee
Child:
11:7c1e2a9303d3
gameplay implemented

Who changed what in which revision?

UserRevisionLine numberNew 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 10:e221bd1ce3ec 9 #include "Game.h"
el18a2k 1:7dfa61225fcf 10 #include "Graphics.h"
el18a2k 6:7aafcaf7cbe2 11 #include "Settings.h"
el18a2k 1:7dfa61225fcf 12
el18a2k 1:7dfa61225fcf 13 class FishEngine {
el18a2k 1:7dfa61225fcf 14
el18a2k 1:7dfa61225fcf 15 public:
el18a2k 2:532b0225519f 16 //calls the title sequence
el18a2k 1:7dfa61225fcf 17 void titleSequence(N5110 &lcd);
el18a2k 2:532b0225519f 18
el18a2k 2:532b0225519f 19 //call the games main menu
el18a2k 2:532b0225519f 20 void mainMenu(N5110 &lcd, Tone &dac, Joystick &joystick);
el18a2k 2:532b0225519f 21
el18a2k 10:e221bd1ce3ec 22 void gamePlay(N5110 &lcd, Tone &dac, Joystick &joystick);
el18a2k 8:fe51fbf81dee 23 //void highScore(N5110 &lcd);
el18a2k 4:db929dab4f13 24 void Instructions(N5110 &lcd);
el18a2k 1:7dfa61225fcf 25 };
el18a2k 1:7dfa61225fcf 26
el18a2k 1:7dfa61225fcf 27 #endif