Mostly working spatical map with 2 level collision/space structure. Not the best implementation but this is the idea.

This commit is contained in:
Zed A. Shaw 2025-07-29 03:12:44 -04:00
parent fd53f92fe6
commit d6326c9e41
7 changed files with 60 additions and 31 deletions

View file

@ -85,7 +85,7 @@ DinkyECS::Entity LevelManager::spawn_enemy(std::string named) {
}
}
level.collision->insert(entity_pos.location, entity_id);
level.collision->insert(entity_pos.location, entity_id, true);
return entity_id;
}