void ChangeScore(int delta) { scoreSystem.ChangeScore(delta); if (scoreSystem.Score >= 12 && state == GameState.Training) { TrainingEnd(); } if (scoreSystem.Score > speedLevel * 100) { spawner.objectSpeed += 1; speedLevel++; } }
void ChangeScore(int delta) { scoreSystem.ChangeScore(delta); if (scoreSystem.Score >= 12 && state == GameState.Training) { TrainingEnd(); } if (scoreSystem.Score > speedLevel * 100) { spawner.objectSpeed += 1; speedLevel++; } }