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
Diff: Score/Score.h
- Revision:
- 31:0d2c19a285f6
- Parent:
- 17:5d8ff39a0e49
- Child:
- 32:58def659f463
diff -r 0ff3bede5307 -r 0d2c19a285f6 Score/Score.h --- a/Score/Score.h Mon May 06 20:37:23 2019 +0000 +++ b/Score/Score.h Wed May 08 03:03:46 2019 +0000 @@ -59,6 +59,8 @@ /** * @brief Congratulation music for evolution + * @param character cha (int) + * @param the value of year (int) * @details Background music played when player's character succesfully evolves, draw sprite of the evolved character */ void congrats(Gamepad &pad, N5110 &lcd, int cha, int year); @@ -100,6 +102,23 @@ */ void gym(Gamepad &pad, bool state); + /** + * @brief Draw sprite for graduation + * @param character cha (int) + * @param the value of year (int) + * @param position x (int) + * @details Draw sprite and animation for the graduation credit scene according to character picked + */ + void draw_grad(N5110 &lcd, int cha, int year, int x); + + /** + * @brief Graduation animation and music + * @param character cha (int) + * @param the value of year (int) + * @details Background music played when player graduates, dependent on character selected (cha), initiate animation for the graduation. + */ + void graduation(Gamepad &pad, N5110 &lcd, int cha); + private: Squirtle _s1; Charmander _c1;