mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-28 00:31:50 +00:00
add time component
This commit is contained in:
@@ -16,6 +16,6 @@ namespace BBM {
|
||||
for (auto & [_ , healthComponent]: this->_wal.getScene()->view<HealthComponent>())
|
||||
alivePlayersCount += (healthComponent.getHealthPoint() != 0);
|
||||
if (alivePlayersCount <= 1)
|
||||
Runner::gameState.nextScene = Runner::gameState.MainMenuScene;
|
||||
Runner::gameState.nextScene = Runner::gameState.ScoreScene;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user