Music Play Method Delta Engine Documentation

Namespace: DeltaEngine.Multimedia
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void Play()
Remarks

Tests: DeltaEngine.Multimedia.Tests.MusicTests
Examples

12 unit tests call DeltaEngine.Multimedia.Music.Play
[Test]
public void PlayMusic()
{
    ContentLoader.Load<Music>("DefaultMusic").Play();
}
[Test]
public void PlayOggMusic()
{
    ContentLoader.Load<Music>("OggMusic").Play();
}
[Test]
public void PlayWmaMusic()
{
    ContentLoader.Load<Music>("WmaMusic").Play();
}
See Also