/// <summary> /// This is called when the game should draw itself. /// </summary> /// <param name="gameTime">Provides a snapshot of timing values.</param> protected override void Draw(GameTime gameTime) { if (Level.IsOutside) { GraphicsDevice.Clear(Color.CornflowerBlue); } else { GraphicsDevice.Clear(new Color(new Vector3(150 / 255.0f, 175 / 255.0f, 175 / 255.0f))); } spriteBatch.Begin(blendState: BlendState.AlphaBlend); LevelScroller.Draw(spriteBatch); GameHUD.Draw(spriteBatch); spriteBatch.End(); base.Draw(gameTime); }