Beispiel #1
0
 static public void playMusic(string Music, float Volume)
 {
     if (music == null)
     {
         music = new FlxSound();
     }
     else if (music.active)
     {
         music.stop();
     }
     music.loadEmbedded(Music, true);
     music.volume  = Volume;
     music.survive = true;
     music.play();
 }
Beispiel #2
0
 public static void playMusic(string Music, float Volume)
 {
     if(music == null)
         music = new FlxSound();
     else if(music.active)
         music.stop();
     music.loadEmbedded(Music,true);
     music.volume = Volume;
     music.survive = true;
     music.play();
 }