Change from ENEMY_SPAWN to ENTITY_SPAWN since that's what it does. Closes #31
This commit is contained in:
parent
fcd1bc589c
commit
ea92dcc3c4
4 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue