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
Exam/Exam.h@5:bc0691d02fd5, 2019-04-08 (annotated)
- Committer:
- yfkwok
- Date:
- Mon Apr 08 00:41:25 2019 +0000
- Revision:
- 5:bc0691d02fd5
- Child:
- 17:5d8ff39a0e49
8/4/2019 - Created Exam files
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yfkwok | 5:bc0691d02fd5 | 1 | #ifndef EXAM_H |
yfkwok | 5:bc0691d02fd5 | 2 | #define EXAM_H |
yfkwok | 5:bc0691d02fd5 | 3 | |
yfkwok | 5:bc0691d02fd5 | 4 | #include "mbed.h" |
yfkwok | 5:bc0691d02fd5 | 5 | #include "N5110.h" |
yfkwok | 5:bc0691d02fd5 | 6 | #include "Gamepad.h" |
yfkwok | 5:bc0691d02fd5 | 7 | #include "Score.h" |
yfkwok | 5:bc0691d02fd5 | 8 | |
yfkwok | 5:bc0691d02fd5 | 9 | class Exam |
yfkwok | 5:bc0691d02fd5 | 10 | { |
yfkwok | 5:bc0691d02fd5 | 11 | |
yfkwok | 5:bc0691d02fd5 | 12 | public: |
yfkwok | 5:bc0691d02fd5 | 13 | Exam(); |
yfkwok | 5:bc0691d02fd5 | 14 | ~Exam(); |
yfkwok | 5:bc0691d02fd5 | 15 | |
yfkwok | 5:bc0691d02fd5 | 16 | void exam_title(Gamepad &pad, N5110 &lcd); |
yfkwok | 5:bc0691d02fd5 | 17 | int exam_q_one(Gamepad &pad, N5110 &lcd, int point); |
yfkwok | 5:bc0691d02fd5 | 18 | int exam_q_two(Gamepad &pad, N5110 &lcd, int point); |
yfkwok | 5:bc0691d02fd5 | 19 | int exam_q_three(Gamepad &pad, N5110 &lcd, int point); |
yfkwok | 5:bc0691d02fd5 | 20 | |
yfkwok | 5:bc0691d02fd5 | 21 | private: |
yfkwok | 5:bc0691d02fd5 | 22 | |
yfkwok | 5:bc0691d02fd5 | 23 | Score music; |
yfkwok | 5:bc0691d02fd5 | 24 | |
yfkwok | 5:bc0691d02fd5 | 25 | }; |
yfkwok | 5:bc0691d02fd5 | 26 | |
yfkwok | 5:bc0691d02fd5 | 27 | #endif |