Exemple #1
0
 public override void Update(TimeSpan elapsedTime)
 {
     if (!game.HasExited)
     {
         if (WaveServices.Input.KeyboardState.Escape == ButtonState.Pressed)
         {
             WaveServices.Platform.Exit();
         }
         else
         {
             game.UpdateFrame(elapsedTime);
         }
     }
 }
 public override void Update(TimeSpan gameTime)
 {
     game.UpdateFrame(gameTime);
 }