Class containing all the bitmaps used to make up the various animations used within the game.
Animations.h@0:45606d84dad8, 2017-05-03 (annotated)
- Committer:
- el15mh
- Date:
- Wed May 03 21:14:08 2017 +0000
- Revision:
- 0:45606d84dad8
- Child:
- 1:bf0f64c26a0a
fully working program
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
el15mh | 0:45606d84dad8 | 1 | /* |
el15mh | 0:45606d84dad8 | 2 | |
el15mh | 0:45606d84dad8 | 3 | @file Animations.h |
el15mh | 0:45606d84dad8 | 4 | |
el15mh | 0:45606d84dad8 | 5 | (c) Max Houghton 13.04.17 |
el15mh | 0:45606d84dad8 | 6 | Roller Maze Project, ELEC2645, Univeristy of Leeds |
el15mh | 0:45606d84dad8 | 7 | |
el15mh | 0:45606d84dad8 | 8 | */ |
el15mh | 0:45606d84dad8 | 9 | |
el15mh | 0:45606d84dad8 | 10 | #ifndef ANIMATIONS_H |
el15mh | 0:45606d84dad8 | 11 | #define ANIMATIONS_H |
el15mh | 0:45606d84dad8 | 12 | |
el15mh | 0:45606d84dad8 | 13 | #include "mbed.h" |
el15mh | 0:45606d84dad8 | 14 | #include "N5110.h" |
el15mh | 0:45606d84dad8 | 15 | #include "Gamepad.h" |
el15mh | 0:45606d84dad8 | 16 | |
el15mh | 0:45606d84dad8 | 17 | class Animations |
el15mh | 0:45606d84dad8 | 18 | { |
el15mh | 0:45606d84dad8 | 19 | |
el15mh | 0:45606d84dad8 | 20 | public: |
el15mh | 0:45606d84dad8 | 21 | |
el15mh | 0:45606d84dad8 | 22 | Animations(); |
el15mh | 0:45606d84dad8 | 23 | ~Animations(); |
el15mh | 0:45606d84dad8 | 24 | |
el15mh | 0:45606d84dad8 | 25 | void intro(N5110 &lcd, Gamepad &pad); |
el15mh | 0:45606d84dad8 | 26 | |
el15mh | 0:45606d84dad8 | 27 | void drawVerticalJoystick(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 28 | void drawLeftJoystick(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 29 | void drawRightJoystick(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 30 | |
el15mh | 0:45606d84dad8 | 31 | void drawLeftGamepad(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 32 | void drawVerticalGamepad(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 33 | void drawRightGamepad(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 34 | |
el15mh | 0:45606d84dad8 | 35 | void rollingEmptyBall(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 36 | void rollingSolidBall(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 37 | |
el15mh | 0:45606d84dad8 | 38 | void mazeCompleted(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 39 | void stickmanOne(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 40 | void stickmanTwo(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 41 | void stickmanThree(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 42 | void stickmanFour(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 43 | void stickmanFive(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 44 | void stickmanSix(N5110 &lcd); |
el15mh | 0:45606d84dad8 | 45 | |
el15mh | 0:45606d84dad8 | 46 | void soundSwitch(N5110 &lcd, Gamepad &pad, bool tone); |
el15mh | 0:45606d84dad8 | 47 | |
el15mh | 0:45606d84dad8 | 48 | private: |
el15mh | 0:45606d84dad8 | 49 | |
el15mh | 0:45606d84dad8 | 50 | }; |
el15mh | 0:45606d84dad8 | 51 | |
el15mh | 0:45606d84dad8 | 52 | #endif /*ANIMATIONS_H*/ |