disable debug on startup

This commit is contained in:
arthur.jamet
2021-06-08 12:15:33 +02:00
57 changed files with 853 additions and 193 deletions

View File

@@ -48,12 +48,12 @@ namespace BBM
this->updateCurrentButton();
for (auto &[buttonEntity, clickComponent]: buttons) {
if (buttonEntity == *currentButton) {
buttonEntity.getComponent<OnHoverComponent>().onEvent(buttonEntity);
buttonEntity.getComponent<OnHoverComponent>().onEvent(buttonEntity, wal);
if (select)
clickComponent.onEvent(buttonEntity);
clickComponent.onEvent(buttonEntity, wal);
continue;
}
buttonEntity.getComponent<OnIdleComponent>().onEvent(buttonEntity);
buttonEntity.getComponent<OnIdleComponent>().onEvent(buttonEntity, wal);
}
}