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