diff options
Diffstat (limited to 'include/entities.hpp')
-rw-r--r-- | include/entities.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/entities.hpp b/include/entities.hpp index f8780df..5417dac 100644 --- a/include/entities.hpp +++ b/include/entities.hpp @@ -254,6 +254,12 @@ public: // causes the entity to take a player-inflicted hit void takeHit(unsigned int _health, unsigned int cooldown); + // returns the amount of cool down before next hit + unsigned int coolDown(); + + // set the cool down + void setCooldown(unsigned int c); + // handles hits if they've been taken void handleHits(void); |