Tests are failing but catch2 is too stupid to actually tell me where so here you go. Now if you hit L it'll turn the lights up to max and if you hit P it will show the pathing.

This commit is contained in:
Zed A. Shaw 2024-12-19 20:04:10 -05:00
parent d916d1c383
commit 93f53d1714
5 changed files with 16 additions and 4 deletions

View file

@ -24,6 +24,7 @@ namespace fs = std::filesystem;
*/
void configure_world(DinkyECS::World &world, Map &game_map) {
const auto &config = world.get_the<MapConfig>();
world.set_the<Debug>({});
// configure a player as a fact of the world
Player player{world.entity()};
world.set_the<Player>(player);