aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/src/bootstrap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic/src/bootstrap.cpp')
-rw-r--r--examples/basic/src/bootstrap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basic/src/bootstrap.cpp b/examples/basic/src/bootstrap.cpp
index 78c5a37..104cf51 100644
--- a/examples/basic/src/bootstrap.cpp
+++ b/examples/basic/src/bootstrap.cpp
@@ -24,7 +24,7 @@ auto bootstrap() -> yacppdic::Container
.to_factory(
[]()
{
- return std::make_unique<Enemy>(65);
+ return std::make_unique<Enemy>(SMALL_ENEMY_HEALTH);
}
)
.when_tagged<SMALL_ENEMY_TAG>();
@@ -33,7 +33,7 @@ auto bootstrap() -> yacppdic::Container
.to_factory(
[]()
{
- return std::make_unique<Enemy>(130);
+ return std::make_unique<Enemy>(BIG_ENEMY_HEALTH);
}
)
.when_tagged<BIG_ENEMY_TAG>();