![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.
Dependencies: mbed FXOS8700CQ mbed-rtos
Score/Score.h@10:adff3c804985, 2019-04-12 (annotated)
- Committer:
- yfkwok
- Date:
- Fri Apr 12 17:19:14 2019 +0000
- Revision:
- 10:adff3c804985
- Parent:
- 5:bc0691d02fd5
- Child:
- 12:71683453f66a
12/4/2019 - Sprite format change
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yfkwok | 2:464c7e62d97d | 1 | #ifndef SCORE_H |
yfkwok | 2:464c7e62d97d | 2 | #define SCORE_H |
yfkwok | 2:464c7e62d97d | 3 | |
yfkwok | 2:464c7e62d97d | 4 | #include "Gamepad.h" |
yfkwok | 2:464c7e62d97d | 5 | #include "mbed.h" |
yfkwok | 2:464c7e62d97d | 6 | #include "Notes.h" |
yfkwok | 4:5bc9c4363d31 | 7 | #include "N5110.h" |
yfkwok | 4:5bc9c4363d31 | 8 | #include "Squirtle.h" |
yfkwok | 10:adff3c804985 | 9 | #include "Charmander.h" |
yfkwok | 2:464c7e62d97d | 10 | |
yfkwok | 2:464c7e62d97d | 11 | class Score |
yfkwok | 2:464c7e62d97d | 12 | { |
yfkwok | 2:464c7e62d97d | 13 | public: |
yfkwok | 2:464c7e62d97d | 14 | Score(); |
yfkwok | 2:464c7e62d97d | 15 | ~Score(); |
yfkwok | 2:464c7e62d97d | 16 | void title_music(Gamepad &pad); |
yfkwok | 2:464c7e62d97d | 17 | void level_up(Gamepad &pad); |
yfkwok | 2:464c7e62d97d | 18 | void congrats(Gamepad &pad); |
yfkwok | 2:464c7e62d97d | 19 | void coin(Gamepad &pad); |
yfkwok | 4:5bc9c4363d31 | 20 | void evolution_music(Gamepad &pad, N5110 &lcd, int cha, int year); |
yfkwok | 4:5bc9c4363d31 | 21 | void congrats(Gamepad &pad, N5110 &lcd, int cha, int year); |
yfkwok | 4:5bc9c4363d31 | 22 | void draw(N5110 &lcd, int cha, int year); |
yfkwok | 4:5bc9c4363d31 | 23 | void draw_cong(N5110 &lcd, int cha, int year); |
yfkwok | 5:bc0691d02fd5 | 24 | void win(Gamepad &pad); |
yfkwok | 5:bc0691d02fd5 | 25 | void exam_intro(Gamepad &pad); |
yfkwok | 5:bc0691d02fd5 | 26 | void gym(Gamepad &pad, bool state); |
yfkwok | 2:464c7e62d97d | 27 | |
yfkwok | 2:464c7e62d97d | 28 | private: |
yfkwok | 4:5bc9c4363d31 | 29 | Squirtle _s1; |
yfkwok | 10:adff3c804985 | 30 | Charmander _c1; |
yfkwok | 2:464c7e62d97d | 31 | }; |
yfkwok | 2:464c7e62d97d | 32 | #endif |