public virtual void Update() { if (game.InputDelay <= 0) { foreach (IController controller in controllerList) { controller.Update(); } } else { game.InputDelay--; } if (ScoreKeeper.Instance.Time == HURRY_UP_THRESHOLD_EFFECT) { MediaPlayer.Stop(); SoundFactory.Instance.PlaySong("MUSIC_HURRY_UP"); } else if (ScoreKeeper.Instance.Time == HURRY_UP_THRESHOLD_MUSIC) { MediaPlayer.Stop(); SoundFactory.Instance.PlayBackgroundMusic(); } PlayerLevel.Instance.LevelUpdate(camera); camera.CameraUpdate(); }