summaryrefslogtreecommitdiff
path: root/source/game/systems/ui/GameGUIDrawSystem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/systems/ui/GameGUIDrawSystem.cs')
-rw-r--r--source/game/systems/ui/GameGUIDrawSystem.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/game/systems/ui/GameGUIDrawSystem.cs b/source/game/systems/ui/GameGUIDrawSystem.cs
new file mode 100644
index 0000000..0140786
--- /dev/null
+++ b/source/game/systems/ui/GameGUIDrawSystem.cs
@@ -0,0 +1,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);
+ }
+} \ No newline at end of file