protected override void Update(GameTime gameTime) { if (mFirstUpdate == false) { mFirstUpdate = true; Program.SplashScreen.Close(); } base.Update(gameTime); if (!Started) { if (mStartDelay) { mDelayTimer += (float)gameTime.ElapsedGameTime.TotalMilliseconds; if (mDelayTimer > 750) { Started = true; } } if (Input.WasButtonPressed(EMouseButtons.LeftButton)) { bool simple = false, normal = false, heavy = false; if ((simple = mDifSimple.Contains(Input.BoundsReal)) || (normal = mDifNormal.Contains(Input.BoundsReal)) || (heavy = mDifHeavy.Contains(Input.BoundsReal))) { if (simple) { World.SetGameDifficult(EGameDifficult.Easy); } else if (normal) { World.SetGameDifficult(EGameDifficult.Medium); } else if (heavy) { World.SetGameDifficult(EGameDifficult.Hard); } else { // Fallback World.SetGameDifficult(EGameDifficult.Easy); } mStartDelay = true; World.Audio.Play3DCue("thud"); } } } World.Music.Update(); }