aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/src/enemy.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic/src/enemy.hpp')
-rw-r--r--examples/basic/src/enemy.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/basic/src/enemy.hpp b/examples/basic/src/enemy.hpp
index ebf00c4..b345f7f 100644
--- a/examples/basic/src/enemy.hpp
+++ b/examples/basic/src/enemy.hpp
@@ -7,6 +7,8 @@
class Enemy : public IEnemy, public yacppdic::AutoWirable<IEnemy, Enemy>
{
public:
+ Enemy(int health) noexcept;
+
int get_health() const noexcept override;
void do_damage(int damage) noexcept override;