Example #1
0
    public void NewRound(bool bossRound)
    {
        BossRound = bossRound;

        // Boosting enemy weights
        for (int i = 1; i < EnemyTypes.Objects.Length - 1; i++)
        {
            EnemyTypes.SetWeight(i, EnemyTypes.Objects[i].Weight + .5f);
        }

        SpawnCount      += 10;
        EnemiesRemaining = SpawnCount;

        SpawnRate = RoundLength / SpawnCount;

        IsSpawning = true;
    }