sneak/Shared/SoundEffects.cs

17 lines
602 B
C#
Raw Normal View History

using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
namespace SemiColinGames {
public static class SoundEffects {
public static SoundEffect[] SwordSwings = new SoundEffect[4];
public static void Load(ContentManager content) {
SwordSwings[0] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_1");
SwordSwings[1] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_2");
SwordSwings[2] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_3");
SwordSwings[3] = content.Load<SoundEffect>("sfx/zapsplat/sword_whoosh_4");
}
}
}