Prefix all getters with "get"
This commit is contained in:
@@ -98,12 +98,12 @@ void WaveSystem::onEnemyStationsDestroyed()
|
||||
++m_generation;
|
||||
}
|
||||
|
||||
double WaveSystem::threatLevel() const
|
||||
double WaveSystem::getThreatLevel() const
|
||||
{
|
||||
return m_threatLevel;
|
||||
}
|
||||
|
||||
double WaveSystem::threatAccumulationRate() const
|
||||
double WaveSystem::getThreatAccumulationRate() const
|
||||
{
|
||||
if (isInQuietWindow())
|
||||
{
|
||||
@@ -113,22 +113,22 @@ double WaveSystem::threatAccumulationRate() const
|
||||
return std::max(0.0, m_config.world.waves.threatRateFormula.evaluate(x));
|
||||
}
|
||||
|
||||
int WaveSystem::generation() const
|
||||
int WaveSystem::getGeneration() const
|
||||
{
|
||||
return m_generation;
|
||||
}
|
||||
|
||||
int WaveSystem::bossWaveCounter() const
|
||||
int WaveSystem::getBossWaveCounter() const
|
||||
{
|
||||
return m_bossWaveCounter;
|
||||
}
|
||||
|
||||
Tick WaveSystem::bossCountdownTicks() const
|
||||
Tick WaveSystem::getBossCountdownTicks() const
|
||||
{
|
||||
return m_bossCountdownTicks;
|
||||
}
|
||||
|
||||
Tick WaveSystem::normalGapRemainingTicks() const
|
||||
Tick WaveSystem::getNormalGapRemainingTicks() const
|
||||
{
|
||||
return m_normalGapRemainingTicks;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user