Initial level management works and can go down levels but need to rework the ecs a bit to have the concept of 'constant' information and make copying it easy.

This commit is contained in:
Zed A. Shaw 2025-01-27 11:52:33 -05:00
parent 58fae858ff
commit 2735a0ac1f
3 changed files with 14 additions and 6 deletions

View file

@ -39,7 +39,6 @@ size_t LevelManager::create_level(shared_ptr<DinkyECS::World> prev_world) {
auto& tile = prev_world->get<Tile>(player.entity);
fmt::println("player tile is: {}", tile.chr);
world->set<Tile>(player.entity, tile);
}