/// <inheritdoc/> public override void Update(GameTime gameTime) { pauseStatus.Update(); if (!pauseStatus.Status) { playerSystem.Update(gameTime); enemyManager.Update(gameTime); bulletManager.Update(gameTime); collisionDetector.Update(gameTime); itemsManager.Update(gameTime); transformManager.Update(gameTime); seismicChargeCountManager.Update(gameTime); OnWin(); } // Volume control if (Keyboard.GetState().IsKeyDown(Keys.OemPlus)) { this.volume.VolumeUp(); } if (Keyboard.GetState().IsKeyDown(Keys.OemMinus)) { this.volume.VolumeDown(); } if (Keyboard.GetState().IsKeyDown(Keys.OemCloseBrackets)) { this.volume.SoundUp(); } if (Keyboard.GetState().IsKeyDown(Keys.OemOpenBrackets)) { this.volume.SoundDown(); } if (this.game.NewKey(Keys.D0)) { this.volume.Mute(); } base.Update(gameTime); }