void increaseSpeed(IncreaseDifficultyEvent e) { difficultyIncreasesCount++; for (int i = 0; i < difficultyIncreasesCount; i++) { timeBetweenMoves.y *= difficultyRamp; } }
void increaseSpeed(IncreaseDifficultyEvent e) { difficultyIncreases++; if ((isDropSpawner && difficultyIncreases <= 5) || !isDropSpawner) { if ((timeBetweenSpawnsBase > .3f && !isDropSpawner) || isDropSpawner) { timeBetweenSpawnsBase -= .1f; timeBetweenSpawnsVariance -= .1f; } } }