protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); backgroundArea = new Rectangle(0, 7 * GameManager.Height / 8, GameManager.Width, GameManager.Height / 8); background = new RectangleOverlay(backgroundArea, Color.LightGray, 100, GameManager.Instance); GameManager.Instance.Components.Add(background); base.LoadContent(); }
protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); backgroundArea = new Rectangle(GameManager.Width / 7, 0, 5 * GameManager.Width / 7, GameManager.Height / 8); background = new RectangleOverlay(backgroundArea, new Color(227, 227, 227), 100, GameManager.Instance); GameManager.Instance.Components.Add(background); base.LoadContent(); }
protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); topArea = new Rectangle(0, 0, GameManager.Width, TopLeft.Y); topAreaOverlay = new RectangleOverlay(topArea, new Color(163, 163, 163, 100), 120, GameManager.Instance); GameManager.Instance.Components.Add(topAreaOverlay); bottomArea = new Rectangle(0, BottomRight.Y, GameManager.Width, GameManager.Height - BottomRight.Y); bottomAreaOverlay = new RectangleOverlay(bottomArea, new Color(163, 163, 163, 100), 120, GameManager.Instance); GameManager.Instance.Components.Add(bottomAreaOverlay); base.LoadContent(); }