add boss wave counter and countdown to the title bar
This commit is contained in:
@@ -240,7 +240,9 @@ void GameWorldView::onFrame()
|
||||
// Emit state update for header bar / build grid
|
||||
emit stateUpdated(m_sim->currentTick(),
|
||||
m_sim->buildingBlocksStock(),
|
||||
m_gameSpeedMultiplier);
|
||||
m_gameSpeedMultiplier,
|
||||
m_sim->bossWaveCounter(),
|
||||
m_sim->bossCountdownTicks());
|
||||
|
||||
// Game over check
|
||||
if (m_sim->isGameOver() && !m_gameOverShown)
|
||||
@@ -1390,7 +1392,9 @@ void GameWorldView::setGameSpeed(double multiplier)
|
||||
m_gameSpeedMultiplier = multiplier;
|
||||
emit stateUpdated(m_sim->currentTick(),
|
||||
m_sim->buildingBlocksStock(),
|
||||
m_gameSpeedMultiplier);
|
||||
m_gameSpeedMultiplier,
|
||||
m_sim->bossWaveCounter(),
|
||||
m_sim->bossCountdownTicks());
|
||||
}
|
||||
|
||||
void GameWorldView::resetForNewGame()
|
||||
|
||||
Reference in New Issue
Block a user