sneak/Shared/SoundEffects.cs

19 lines
727 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 IntroMusic;
public static SoundEffect[] SwordSwings = new SoundEffect[4];
public static void Load(ContentManager content) {
IntroMusic = content.Load<SoundEffect>("music/playonloop/smash_bros_short");
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");
}
}
}