1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-04 14:39:10 +01:00
MLEM/MLEM/Extensions/SoundExtensions.cs
2019-11-07 14:50:10 +01:00

12 lines
No EOL
247 B
C#

using Microsoft.Xna.Framework.Audio;
namespace MLEM.Extensions {
public static class SoundExtensions {
public static void Replay(this SoundEffectInstance sound) {
sound.Stop();
sound.Play();
}
}
}