aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.hpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-05-13 12:48:11 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-05-13 12:48:11 -0400
commit23f3b1471b2bbfe92252456f32c9ae55a9d1f213 (patch)
tree97f520b944aaa699854b745e182911615ce10c02 /include/entities.hpp
parent0e24afb4cd060701348398b16f2b1d89b8935b81 (diff)
Things flash red when hit
Diffstat (limited to 'include/entities.hpp')
-rw-r--r--include/entities.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/entities.hpp b/include/entities.hpp
index 7487bbe..1c3b6ff 100644
--- a/include/entities.hpp
+++ b/include/entities.hpp
@@ -181,6 +181,11 @@ protected:
// TODO
float targetx;
+ // the cooldown display (red overlay)
+ float hitDuration;
+
+ // the max cooldown display
+ float maxHitDuration;
public:
// contains the entity's coordinates, in pixels
vec2 loc;