Ejemplo n.º 1
0
 private void playSequence(LightingConstants.Lfx sequenceName)
 {
     //if (!getInstance()._sequences.ContainsKey(sequence.SequenceName))
     _log.DebugFormat("Playing Light Sequence {0}", sequenceName);
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Play a sequence immediately.
 /// </summary>
 /// <param name="sequenceName"></param>
 /// <param name="repeat"></param>
 public static void PlaySequence(LightingConstants.Lfx sequenceName)
 {
     getInstance().playSequence(sequenceName);
 }