Simple fish eat program

Dependencies:   mbed mbed-rtos N5110 ShiftReg Tone

Revision:
2:532b0225519f
Parent:
1:7dfa61225fcf
Child:
4:db929dab4f13
diff -r 7dfa61225fcf -r 532b0225519f classes/FishEngine.h
--- a/classes/FishEngine.h	Fri Mar 19 17:28:12 2021 +0000
+++ b/classes/FishEngine.h	Mon Mar 22 15:54:04 2021 +0000
@@ -4,14 +4,25 @@
 #include "N5110.h"
 #include "Tone.h"
 #include "ShiftReg.h"
+#include "Joystick.h"
 
 #include "Graphics.h"
 
 class FishEngine {
 
 public:
-    void system_init(N5110 &lcd, Tone &dac);
+    //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();
+    void highScore();
+    void Settings(N5110 &lcd, Tone &dac);
 };
 
 #endif
\ No newline at end of file