sneak/Shared/SoundEffects.cs

29 lines
1.4 KiB
C#
Raw Permalink Normal View History

using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
namespace SemiColinGames {
public static class SoundEffects {
public static SoundEffect IntroMusic;
2020-03-16 19:04:26 +00:00
public static SoundEffect[] SwordSwings = new SoundEffect[14];
public static void Load(ContentManager content) {
IntroMusic = content.Load<SoundEffect>("music/playonloop/smash_bros_short");
2020-03-16 18:57:24 +00:00
SwordSwings[0] = content.Load<SoundEffect>("sfx/zs_whoosh_30568");
SwordSwings[1] = content.Load<SoundEffect>("sfx/zs_whoosh_30569");
SwordSwings[2] = content.Load<SoundEffect>("sfx/zs_whoosh_30570");
SwordSwings[3] = content.Load<SoundEffect>("sfx/zs_whoosh_30571");
2020-03-16 19:04:26 +00:00
SwordSwings[4] = content.Load<SoundEffect>("sfx/zs_whoosh_30572");
SwordSwings[5] = content.Load<SoundEffect>("sfx/zs_whoosh_30573");
SwordSwings[6] = content.Load<SoundEffect>("sfx/zs_whoosh_30574");
SwordSwings[7] = content.Load<SoundEffect>("sfx/zs_whoosh_30575");
SwordSwings[8] = content.Load<SoundEffect>("sfx/zs_whoosh_30576");
SwordSwings[9] = content.Load<SoundEffect>("sfx/zs_whoosh_30577");
SwordSwings[10] = content.Load<SoundEffect>("sfx/zs_whoosh_30578");
SwordSwings[11] = content.Load<SoundEffect>("sfx/zs_whoosh_30579");
SwordSwings[12] = content.Load<SoundEffect>("sfx/zs_whoosh_30580");
SwordSwings[13] = content.Load<SoundEffect>("sfx/zs_whoosh_30581");
}
}
}