/// <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) { GraphicsDevice.Clear(OwnColors.LightGreen); spriteBatch.Begin(); // TODO: Add your drawing code here foreach (IMapComponents component in Map) { component.Draw(spriteBatch, FontUIBig, SpriteSheet); } //Draw grid //levelGenerator.Draw(spriteBatch); navbar.Draw(spriteBatch, FontUIBig, SpriteSheet, economy); NotificationDisplayer.Draw(spriteBatch, FontNotification); spriteBatch.End(); base.Draw(gameTime); }