Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
Diff: classes/Graphics.h
- Revision:
- 10:e221bd1ce3ec
- Parent:
- 3:8c9c9794bcf2
- Child:
- 12:20ac766b3175
--- a/classes/Graphics.h Tue Apr 20 15:08:37 2021 +0000 +++ b/classes/Graphics.h Tue Apr 20 15:35:00 2021 +0000 @@ -13,15 +13,22 @@ * screen its self is seated correctly as this seems to be an issue*/ void screenFlash(N5110 &lcd); //flashes LCD screen - void Fish_1(N5110 &lcd); //draws fish 1 (smallest fish) THIS MAY BE REMOVED FROM GRAPHICS!!!! - void Fish_2(N5110 &lcd); //draws fish 2 - void Fish_3(N5110 &lcd); //draws fish 3 - void Fish_4(N5110 &lcd); //draws fish 4 (largest fish) + //player fish + void Fish_1(N5110 &lcd, int _x, int _y); //draws fish 1 (smallest fish) + void Fish_2(N5110 &lcd, int _x, int _y); //draws fish 2 + void Fish_3(N5110 &lcd, int _x, int _y); //draws fish 3 + void Fish_4(N5110 &lcd, int _x, int _y); //draws fish 4 (largest fish) + void upArrow(N5110 &lcd); // draws menu arrow void downArrow(N5110 &lcd); // draws menu arrow void leftArrow(N5110 &lcd); // draws menu arrow void rightArrow(N5110 &lcd); // draws menu arrow - void Waves(N5110 &lcd); //draws waves + + //enemy fish + void E_Fish_1(N5110 &lcd, int _x, int _y); //draws fish 1 (smallest fish + void E_Fish_2(N5110 &lcd, int _x, int _y); //draws fish 2 + void E_Fish_3(N5110 &lcd, int _x, int _y); //draws fish 3 + void E_Fish_4(N5110 &lcd, int _x, int _y); //draws fish 4 (largest fish) }; #endif \ No newline at end of file