Nemesis game, stats
Stats.h@8:b8e8e2f335e1, 2017-04-09 (annotated)
- Committer:
- musallambseiso
- Date:
- Sun Apr 09 12:47:00 2017 +0000
- Revision:
- 8:b8e8e2f335e1
- Parent:
- 7:cae9a95427f7
- Child:
- 9:b9ad5e45aebf
Added health drop
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 | 7:cae9a95427f7 | 16 | void draw_health(N5110 &lcd); |
musallambseiso | 8:b8e8e2f335e1 | 17 | void check_health(N5110 &lcd, int collisions); |
musallambseiso | 5:b822aaa6200d | 18 | |
musallambseiso | 5:b822aaa6200d | 19 | private: |
musallambseiso | 7:cae9a95427f7 | 20 | |
musallambseiso | 5:b822aaa6200d | 21 | }; |
musallambseiso | 6:fb678d095e0a | 22 | |
musallambseiso | 5:b822aaa6200d | 23 | #endif |