Simple fish eat program
Dependencies: mbed mbed-rtos N5110 ShiftReg Tone
classes/Graphics.h@2:532b0225519f, 2021-03-22 (annotated)
- Committer:
- el18a2k
- Date:
- Mon Mar 22 15:54:04 2021 +0000
- Revision:
- 2:532b0225519f
- Parent:
- 0:cf9660998431
- Child:
- 3:8c9c9794bcf2
Main menu created and implemented successfully
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el18a2k | 0:cf9660998431 | 1 | #ifndef GRAPHICS_H |
el18a2k | 0:cf9660998431 | 2 | #define GRAPHICS_H |
el18a2k | 0:cf9660998431 | 3 | |
el18a2k | 0:cf9660998431 | 4 | #include "N5110.h" |
el18a2k | 0:cf9660998431 | 5 | |
el18a2k | 0:cf9660998431 | 6 | class Graphics { |
el18a2k | 0:cf9660998431 | 7 | |
el18a2k | 0:cf9660998431 | 8 | public: |
el18a2k | 2:532b0225519f | 9 | void titleScreen(N5110 &lcd); //creates the game title screen |
el18a2k | 2:532b0225519f | 10 | void confirmationScreen(N5110 &lcd); //waits for player to press A |
el18a2k | 2:532b0225519f | 11 | void screenFlash(N5110 &lcd); //flashes LCD screen |
el18a2k | 2:532b0225519f | 12 | void Fish_1(N5110 &lcd); //draws fish 1 (smallest fish) THIS MAY BE REMOVED!!!! |
el18a2k | 2:532b0225519f | 13 | void Fish_2(N5110 &lcd); //draws fish 2 |
el18a2k | 2:532b0225519f | 14 | void Fish_3(N5110 &lcd); //draws fish 3 |
el18a2k | 2:532b0225519f | 15 | void Fish_4(N5110 &lcd); //draws fish 4 (largest fish) |
el18a2k | 2:532b0225519f | 16 | void upArrow(N5110 &lcd); // draws menu arrow |
el18a2k | 2:532b0225519f | 17 | void downArrow(N5110 &lcd); // draws menu arrow |
el18a2k | 2:532b0225519f | 18 | void leftArrow(N5110 &lcd); // draws menu arrow |
el18a2k | 2:532b0225519f | 19 | void rightArrow(N5110 &lcd); // draws menu arrow |
el18a2k | 2:532b0225519f | 20 | void Waves(N5110 &lcd); //draws waves |
el18a2k | 0:cf9660998431 | 21 | }; |
el18a2k | 0:cf9660998431 | 22 | |
el18a2k | 0:cf9660998431 | 23 | #endif |