예제 #1
0
        void CheckTrigger(SoundTrigger trigger)
        {
            Logger.WriteLine(3, "Check trigger {0}", trigger);
            var sound = GameDef.GameSounds.SafeLookup(trigger);

            if (sound != null && !Sounds.Contains(sound))
            {
                Sounds.Add(sound);
                VerboseLog("Sound {0} {1}", sound, trigger);
            }
        }