private void playSequence(LightingConstants.Lfx sequenceName) { //if (!getInstance()._sequences.ContainsKey(sequence.SequenceName)) _log.DebugFormat("Playing Light Sequence {0}", sequenceName); }
private void handleScoreChanged(int points, SoundConstants.Sfx sound, LightingConstants.Lfx lightEffect) { if (points > 0) GameManager.getInstance().AddScore(points); if (sound != SoundConstants.Sfx.None) SoundManager.PlaySfx(sound); if (lightEffect != LightingConstants.Lfx.None) LightManager.PlaySequence(lightEffect); }
/// <summary> /// Play a sequence immediately. /// </summary> /// <param name="sequenceName"></param> /// <param name="repeat"></param> public static void PlaySequence(LightingConstants.Lfx sequenceName) { getInstance().playSequence(sequenceName); }