Beispiel #1
0
    private bool TimeForNextWave()
    {
        if (forcedNextWave)
        {
            forcedNextWave = false;
            return(true);
        }

        if (currentEnemyWave != null && currentEnemyWave.GetAliveEnemies() == 0)
        {
            return(true);
        }
        return(false);
    }