public Game1() { sm_game = this; graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = 1024; graphics.PreferredBackBufferHeight = 960; graphics.ApplyChanges(); Content.RootDirectory = "Content"; audioSys = new AudioSys(); gameData = new GameData(); }
public void playSFX(AudioSys.Effect e) { synth.CreateMutation(sParams[(int)e], 0.1).Play(); }
public static void playSFX(AudioSys.Effect effect) { audioSys.playSFX(effect); }