Nemesis game, stats
Stats.h@9:b9ad5e45aebf, 2017-05-01 (annotated)
- Committer:
- musallambseiso
- Date:
- Mon May 01 13:02:42 2017 +0000
- Revision:
- 9:b9ad5e45aebf
- Parent:
- 8:b8e8e2f335e1
- Child:
- 10:c5ef17e93872
Fixed and improved bullet system (generation)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
musallambseiso | 7:cae9a95427f7 | 1 | #ifndef STATS_H |
musallambseiso | 7:cae9a95427f7 | 2 | #define STATS_H |
musallambseiso | 5:b822aaa6200d | 3 | |
musallambseiso | 5:b822aaa6200d | 4 | #include "mbed.h" |
musallambseiso | 5:b822aaa6200d | 5 | #include "N5110.h" |
musallambseiso | 5:b822aaa6200d | 6 | #include "Gamepad.h" |
musallambseiso | 5:b822aaa6200d | 7 | #include "Friendly.h" |
musallambseiso | 5:b822aaa6200d | 8 | |
musallambseiso | 7:cae9a95427f7 | 9 | class Stats |
musallambseiso | 5:b822aaa6200d | 10 | { |
musallambseiso | 5:b822aaa6200d | 11 | |
musallambseiso | 5:b822aaa6200d | 12 | public: |
musallambseiso | 7:cae9a95427f7 | 13 | Stats(); |
musallambseiso | 7:cae9a95427f7 | 14 | ~Stats(); |
musallambseiso | 6:fb678d095e0a | 15 | |
musallambseiso | 9:b9ad5e45aebf | 16 | void grid_draw(N5110 &lcd); |
musallambseiso | 9:b9ad5e45aebf | 17 | void wave_draw(N5110 &lcd, int wave_counter); |
musallambseiso | 7:cae9a95427f7 | 18 | void draw_health(N5110 &lcd); |
musallambseiso | 9:b9ad5e45aebf | 19 | void draw_rocket1(N5110 &lcd, int state); |
musallambseiso | 9:b9ad5e45aebf | 20 | void draw_rocket2(N5110 &lcd, int state); |
musallambseiso | 9:b9ad5e45aebf | 21 | void draw_rocket3(N5110 &lcd, int state); |
musallambseiso | 9:b9ad5e45aebf | 22 | void check_rocket(N5110 &lcd, int ammo); |
musallambseiso | 8:b8e8e2f335e1 | 23 | void check_health(N5110 &lcd, int collisions); |
musallambseiso | 5:b822aaa6200d | 24 | |
musallambseiso | 5:b822aaa6200d | 25 | private: |
musallambseiso | 7:cae9a95427f7 | 26 | |
musallambseiso | 5:b822aaa6200d | 27 | }; |
musallambseiso | 6:fb678d095e0a | 28 | |
musallambseiso | 5:b822aaa6200d | 29 | #endif |