protected override void Update(GameTime gameTime) { if (InputMgr.ControllerState.Buttons.Back == ButtonState.Pressed || !Player.IsAlive) //Back quits game for now { this.Exit(); } if (InputMgr.IsNewKey(Keys.F)) //F toggles FPS displayer { FpsDisplayer.Enabled = !FpsDisplayer.Enabled; } if (FpsDisplayer.Enabled) { FpsDisplayer.Update(gameTime); } HUD.Update(gameTime); UpdatePickables(gameTime); base.Update(gameTime); }