Change from ENEMY_SPAWN to ENTITY_SPAWN since that's what it does. Closes #31

This commit is contained in:
Zed A. Shaw 2025-06-26 23:22:22 -04:00
parent fcd1bc589c
commit ea92dcc3c4
4 changed files with 4 additions and 4 deletions

View file

@ -42,7 +42,7 @@ namespace gui {
void DebugUI::spawn(std::string enemy_key) {
auto ent = $level_mgr.spawn_enemy(enemy_key);
auto& level = $level_mgr.current();
level.world->send<Events::GUI>(Events::GUI::ENEMY_SPAWN, ent, {});
level.world->send<Events::GUI>(Events::GUI::ENTITY_SPAWN, ent, {});
}
void DebugUI::render(sf::RenderWindow& window) {