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 4d7ec52..98e6b65 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.hpp" +#include "interfaces/game_initializer.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 = container.get<IGame>(); + auto game_initializer = container.get<IGameInitializer>(); - game->run(); + game_initializer->initialize(); } |