Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
Diff: classes/Game.h
- Revision:
- 13:183bd19f3d7d
- Parent:
- 12:20ac766b3175
- Child:
- 14:f1552b691274
diff -r 20ac766b3175 -r 183bd19f3d7d classes/Game.h --- 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);