aboutsummaryrefslogtreecommitdiff
path: root/src/game_of_life.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-10 19:12:31 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:55 +0200
commit38f14606c78c119d452f302f17329455e29a9a6f (patch)
tree03f6dfd9d3576e87260f7cb3bc436ad076b629c5 /src/game_of_life.cpp
parent09848ad31af6a1c70d64fccee711e231afb5a77f (diff)
refactor: rename game initializer & move input config
Diffstat (limited to 'src/game_of_life.cpp')
-rw-r--r--src/game_of_life.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game_of_life.cpp b/src/game_of_life.cpp
index 98e6b65..37e241c 100644
--- a/src/game_of_life.cpp
+++ b/src/game_of_life.cpp
@@ -1,6 +1,6 @@
#include "bootstrap.hpp"
#include "interfaces/argument_parser.hpp"
-#include "interfaces/game_initializer.hpp"
+#include "interfaces/engine.hpp"
#include "interfaces/randomization.hpp"
#include <getopt.h>
@@ -29,7 +29,7 @@ int main(int argc, char *argv[])
random_number_generator_factory(seed_generator_factory()->random_seed());
}
- auto game_initializer = container.get<IGameInitializer>();
+ auto engine = container.get<ICLIGameEngine>();
- game_initializer->initialize();
+ engine->start();
}