MegaMan.Engine.Music.Play C# (CSharp) Method

Play() public method

public Play ( ) : void
return void
        public void Play()
        {
            Playing = false;
            if (intro != null)
            {
                CHANNELINDEX index = (channel == null) ? CHANNELINDEX.FREE : CHANNELINDEX.REUSE;
                system.playSound(index, intro, false, ref channel);
                Volume = 1;
                playingintro = true;
                channel.setCallback(callback);
            }
            else if (loop != null) system.playSound(CHANNELINDEX.FREE, loop, false, ref channel);

            Playing = true;
        }