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 3c58c82..ea08864 100644 --- a/backend/Enemy.h +++ b/backend/Enemy.h @@ -8,6 +8,7 @@ public: const String & get_name() const; void set_description(const String & description); const String & get_description() const; + unsigned get_health() const; private: friend class EnemyFactory; @@ -18,5 +19,6 @@ public: private: String name; String description; + unsigned int health_points = 0; }; |