diff options
Diffstat (limited to 'src/game_of_life.cpp')
-rw-r--r-- | src/game_of_life.cpp | 6 |
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(); } |