Menu stuff

This commit is contained in:
MarcEricMartel
2023-06-10 12:13:57 -04:00
parent 69ad100698
commit 48b08c26c2
3 changed files with 83 additions and 38 deletions

View File

@@ -4,7 +4,7 @@ using System;
public partial class start_game_menu : Control
{
private const string _path = "/root/StartGameMenu/";
private Button _localMulti, _single, _LANMulti, _join, _host;
private Button _localMulti, _single, _LANMulti, _join, _host, _cancel, _quit, _yes, _no;
private Label _error;
private string Error {
@@ -17,6 +17,7 @@ public partial class start_game_menu : Control
_single = GetNode<Button>(_path + "Btn_Single");
_localMulti = GetNode<Button>(_path + "Btn_LocalMulti");
_LANMulti = GetNode<Button>(_path + "Btn_LANMulti");
_error = GetNode<Label>(_path + "lbl_err");
_single.Pressed += () => startSingleGame();
_localMulti.Pressed += () => startLocalMultiGame();