Nemesis game, stats
Stats.cpp@7:cae9a95427f7, 2017-04-06 (annotated)
- Committer:
- musallambseiso
- Date:
- Thu Apr 06 09:38:22 2017 +0000
- Revision:
- 7:cae9a95427f7
- Parent:
- Bullet.cpp@6:fb678d095e0a
- Child:
- 8:b8e8e2f335e1
New file, started on health
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
musallambseiso | 7:cae9a95427f7 | 1 | #include "Stats.h" |
musallambseiso | 5:b822aaa6200d | 2 | |
musallambseiso | 7:cae9a95427f7 | 3 | Stats::Stats() |
musallambseiso | 5:b822aaa6200d | 4 | { |
musallambseiso | 5:b822aaa6200d | 5 | |
musallambseiso | 5:b822aaa6200d | 6 | } |
musallambseiso | 5:b822aaa6200d | 7 | |
musallambseiso | 7:cae9a95427f7 | 8 | Stats::~Stats() |
musallambseiso | 5:b822aaa6200d | 9 | { |
musallambseiso | 5:b822aaa6200d | 10 | |
musallambseiso | 5:b822aaa6200d | 11 | } |
musallambseiso | 5:b822aaa6200d | 12 | |
musallambseiso | 7:cae9a95427f7 | 13 | void Stats::draw_health(N5110 &lcd) |
musallambseiso | 7:cae9a95427f7 | 14 | { |
musallambseiso | 5:b822aaa6200d | 15 | |
musallambseiso | 7:cae9a95427f7 | 16 | lcd.drawLine(76,40,77,40,1); |
musallambseiso | 7:cae9a95427f7 | 17 | lcd.drawLine(79,40,80,40,1); |
musallambseiso | 7:cae9a95427f7 | 18 | lcd.drawLine(75,41,75,43,1); |
musallambseiso | 7:cae9a95427f7 | 19 | lcd.drawLine(81,41,81,43,1); |
musallambseiso | 7:cae9a95427f7 | 20 | lcd.setPixel(78,41); |
musallambseiso | 7:cae9a95427f7 | 21 | lcd.setPixel(76,44); |
musallambseiso | 7:cae9a95427f7 | 22 | lcd.setPixel(80,44); |
musallambseiso | 7:cae9a95427f7 | 23 | lcd.setPixel(77,45); |
musallambseiso | 7:cae9a95427f7 | 24 | lcd.setPixel(79,45); |
musallambseiso | 7:cae9a95427f7 | 25 | lcd.setPixel(78,46); |
musallambseiso | 5:b822aaa6200d | 26 | } |