HealthBar Library
Diff: HealthBar.h
- Revision:
- 1:9f2d307b3b99
- Parent:
- 0:aa460a91bd33
- Child:
- 2:8c597d140b1d
diff -r aa460a91bd33 -r 9f2d307b3b99 HealthBar.h --- a/HealthBar.h Wed May 03 15:51:20 2017 +0000 +++ b/HealthBar.h Thu May 04 08:35:26 2017 +0000 @@ -8,15 +8,54 @@ class HealthBar { public: + + /** + * + * + */ HealthBar(); + + /** + * + * + */ ~HealthBar(); + + /** + * + * + */ void init(int HP); + + /** + * + * + */ void draw(N5110 &lcd); + + /** + * + * + */ void update(); + + /** + * + * + */ void MinusHP1(int HPLost1); + + /** + * + * + */ void MinusHP2(int HPLost2); + + int ZeroHP; + + private: int _HP; @@ -24,6 +63,7 @@ int _HPLost2; int TotalHP; + }; #endif \ No newline at end of file