Can actually save the game now.
This commit is contained in:
parent
b2ed598c1f
commit
67cacd5dcd
3 changed files with 4 additions and 9 deletions
3
main.cpp
3
main.cpp
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue