From 9d50e72892f84c602df3c328259cdfdd325bca12 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 14 Jun 2022 18:05:46 +0200 Subject: docs: basic example use constants for enemies's health --- examples/basic/src/bootstrap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/basic/src/bootstrap.cpp') 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(65); + return std::make_unique(SMALL_ENEMY_HEALTH); } ) .when_tagged(); @@ -33,7 +33,7 @@ auto bootstrap() -> yacppdic::Container .to_factory( []() { - return std::make_unique(130); + return std::make_unique(BIG_ENEMY_HEALTH); } ) .when_tagged(); -- cgit v1.2.3-18-g5258