diff options
Diffstat (limited to 'backend/Enemy.h')
-rw-r--r-- | backend/Enemy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/Enemy.h b/backend/Enemy.h index ea08864..23d988d 100644 --- a/backend/Enemy.h +++ b/backend/Enemy.h @@ -9,6 +9,8 @@ public: void set_description(const String & description); const String & get_description() const; unsigned get_health() const; + void take_damage(unsigned int dmg); + virtual const String & get_displayname() const; private: friend class EnemyFactory; |