using Godot; using System; using Godot.Collections; public partial class Lobby : Control { private const int DefaultPort = 8910; // An arbitrary number. private const int MaxNumberOfPeers = 1; // How many people we want to have in a game private LineEdit _address; private Button _hostButton; private Button _joinButton; private Label _statusOk; private Label _statusFail; private NetworkedMultiplayerENet _peer; public override void _Ready() { // Get nodes - the generic is a class, argument is node path. _address = GetNode("Address"); _hostButton = GetNode