summaryrefslogtreecommitdiff
path: root/source/game/systems/ui/GameGUIDrawSystem.cs
blob: 0140786915788e0e5f1f4eac9df87679e77406f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using Celesteia.GUIs.Game;
using Microsoft.Xna.Framework;
using MonoGame.Extended.Entities.Systems;

namespace Celesteia.Game.Systems.UI {
    public class GameGUIDrawSystem : DrawSystem {
        private GameGUI _gui;

        public GameGUIDrawSystem(GameGUI gui) => _gui = gui;
        public override void Draw(GameTime gameTime) => _gui.Draw(gameTime);
    }
}