/// <summary>
        /// Instancia e inicializa os arquivos de audio.
        /// </summary>
        public static void Initialize()
        {
            SoundManager = new EngineSoundManager();
            Sound        = new List <EngineSound>();

            Player = new List <EngineMusic>();
            Player.Add(new EngineMusic("Lineage 2 Ertheia - The Epic Tales of Aden.mp3", "Ertheia"));
            Player.Add(new EngineMusic("scene_1.wav", "Scene"));

            //Carrega os arquivos.
            Sound.Add(new EngineSound(Configuration.GamePath + @"\Data\Sound\0.wav"));
            Sound.Add(new EngineSound(Configuration.GamePath + @"\Data\Sound\1.wav"));
        }
Пример #2
0
 public SoundCompleteCallback(EngineSoundManager manager, SourceVoice voice)
 {
     Manager = manager;
     Voice   = voice;
 }