Can actually save the game now.

This commit is contained in:
Zed A. Shaw 2024-11-06 22:24:23 -05:00
parent b2ed598c1f
commit 67cacd5dcd
3 changed files with 4 additions and 9 deletions

View file

@ -19,9 +19,6 @@ namespace fs = std::filesystem;
*/
void configure_world(DinkyECS::World &world, Map &game_map) {
const auto &config = world.get_the<MapConfig>();
// this sets up the gui event system
world.set_the<Events::GUI>(Events::GUI::START);
// configure a player as a fact of the world
Player player{world.entity()};
world.set_the<Player>(player);