mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-06-30 08:06:34 +02:00
12 lines
247 B
C#
12 lines
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();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|