From 862b399fa37e6ca692d38177a22ee34860d2251e Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 15 Sep 2025 20:00:47 -0300 Subject: Menu principal --- scripts/GUI/MainMenu.cs | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 scripts/GUI/MainMenu.cs (limited to 'scripts/GUI/MainMenu.cs') diff --git a/scripts/GUI/MainMenu.cs b/scripts/GUI/MainMenu.cs new file mode 100644 index 0000000..4d89b36 --- /dev/null +++ b/scripts/GUI/MainMenu.cs @@ -0,0 +1,46 @@ +using Godot; + +namespace TheLegendOfGustav.GUI; + +public partial class MainMenu : Control +{ + private Button NewGameButton; + private Button LoadGameButton; + private Button QuitButton; + + [Signal] + public delegate void GameRequestEventHandler(bool load); + + public override void _Ready() + { + base._Ready(); + + NewGameButton = GetNode