Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 public void playSFX(AudioSys.Effect e)
 {
     synth.CreateMutation(sParams[(int)e], 0.1).Play();
 }
Esempio n. 3
0
 public static void playSFX(AudioSys.Effect effect)
 {
     audioSys.playSFX(effect);
 }