Simple fish eat program

Dependencies:   mbed mbed-rtos N5110 ShiftReg Tone

Revision:
13:183bd19f3d7d
Parent:
12:20ac766b3175
Child:
14:f1552b691274
--- a/classes/Game.h	Wed Apr 21 15:24:31 2021 +0000
+++ b/classes/Game.h	Wed Apr 21 16:26:26 2021 +0000
@@ -18,7 +18,7 @@
 public:
     
     //plays the game
-    void gamePlay(N5110 &lcd, Tone &dac, DIRECTION direction);
+    void gamePlay(N5110 &lcd, DIRECTION direction);
     
     //draws the playing area
     void init(N5110 &lcd, int x, int y, int Fish_size);
@@ -36,7 +36,7 @@
     int Lives();
     
     //check for collision with other fish
-    int Collision(Tone &dac);
+    void Collision();
     
     //generate enemy fish
     void enemyFish(N5110 &lcd);