public override void Update(object gameTime) { base.Update(gameTime); handler.Update(gameTime); if (!scoreAdded) { Add(scoreForm); scoreAdded = true; } if (backButton.Pressed) { GameEnvironment.GameStateManager.SwitchTo("MainMenuState"); } if (RANDOM.NextDouble() > 0.97) { pc.AddExplosion(new Vector2(RANDOM.Next(0, 1920), RANDOM.Next(0, 1080))); PlaySound(ContentImporter.Sounds.SND_EXPLOSION); } }