Example #1
0
    private IEnumerator RecalculateFrequencies(int level)
    {
        enemyClass.Recalculate(level);
        yield return(null);

        enemyWeaponClass.Recalculate(level);
        yield return(null);

        asteroidClass.Recalculate(level);
        yield return(null);

        powerupClass.Recalculate(level);
        yield return(null);

        recalculationFinished = true;
    }