protected override void Update(GameTime gameTime)
{
REngine.Instance._gameTime = gameTime;
game.Update();
#if XBOX
services.Update(gameTime);
#endif
// Allows the game to exit in case of emergency
if (AllowEscapeQuit)
{
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
this.Exit();
}
//GraphicsDevice.Clear(ClearOptions.Target | ClearOptions.DepthBuffer, Color.CornflowerBlue, 1.0f, 0);
//pmv.Update(gameTime);
// TODO: Add your update logic here
base.Update(gameTime);
}