Menu stuff
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user