Aiming Wu
/
2645_Assignment
Doxyjen of the Bird.h
Begin/Begin.h@0:0aea7b9ba421, 2019-05-05 (annotated)
- Committer:
- Wuuu
- Date:
- Sun May 05 16:27:50 2019 +0000
- Revision:
- 0:0aea7b9ba421
- Child:
- 5:abe12cabd0b7
Doxyjen of the Bird.h
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Wuuu | 0:0aea7b9ba421 | 1 | #ifndef BEGIN_H |
Wuuu | 0:0aea7b9ba421 | 2 | #define BEGIN_H |
Wuuu | 0:0aea7b9ba421 | 3 | |
Wuuu | 0:0aea7b9ba421 | 4 | #include "mbed.h" |
Wuuu | 0:0aea7b9ba421 | 5 | #include "N5110.h" |
Wuuu | 0:0aea7b9ba421 | 6 | #include "Gamepad.h" |
Wuuu | 0:0aea7b9ba421 | 7 | #include "Wall1.h" |
Wuuu | 0:0aea7b9ba421 | 8 | #include "Bird.h" |
Wuuu | 0:0aea7b9ba421 | 9 | |
Wuuu | 0:0aea7b9ba421 | 10 | class Begin |
Wuuu | 0:0aea7b9ba421 | 11 | { |
Wuuu | 0:0aea7b9ba421 | 12 | public: |
Wuuu | 0:0aea7b9ba421 | 13 | Begin(); |
Wuuu | 0:0aea7b9ba421 | 14 | ~Begin(); |
Wuuu | 0:0aea7b9ba421 | 15 | void init(); |
Wuuu | 0:0aea7b9ba421 | 16 | int draw(N5110 &lcd, Gamepad &pad); |
Wuuu | 0:0aea7b9ba421 | 17 | int get_score(N5110 &lcd); |
Wuuu | 0:0aea7b9ba421 | 18 | |
Wuuu | 0:0aea7b9ba421 | 19 | private: |
Wuuu | 0:0aea7b9ba421 | 20 | |
Wuuu | 0:0aea7b9ba421 | 21 | int _m; |
Wuuu | 0:0aea7b9ba421 | 22 | int _s; |
Wuuu | 0:0aea7b9ba421 | 23 | int _a1; |
Wuuu | 0:0aea7b9ba421 | 24 | int _b1; |
Wuuu | 0:0aea7b9ba421 | 25 | int _a2; |
Wuuu | 0:0aea7b9ba421 | 26 | int _b2; |
Wuuu | 0:0aea7b9ba421 | 27 | int _a3; |
Wuuu | 0:0aea7b9ba421 | 28 | int _b3; |
Wuuu | 0:0aea7b9ba421 | 29 | int _h; |
Wuuu | 0:0aea7b9ba421 | 30 | Bird _Bird; |
Wuuu | 0:0aea7b9ba421 | 31 | Wall1 _Wall1; |
Wuuu | 0:0aea7b9ba421 | 32 | }; |
Wuuu | 0:0aea7b9ba421 | 33 | |
Wuuu | 0:0aea7b9ba421 | 34 | #endif |
Wuuu | 0:0aea7b9ba421 | 35 |