public void ConnectToGame() { if (SelectedGamePort != -1) { network = new NetworkManager(SelectedGamePort); network.connectToServer(); nextScreen = new ConnectingScreen(this); } }
void CreateGame() { nextScreen = new ConnectingScreen(this); }