merge Setup branch into develop #1

Merged
SemvdH merged 71 commits from setupBranch into master 2020-10-21 18:59:02 +00:00
Showing only changes of commit b1237e53a2 - Show all commits

View File

@@ -35,16 +35,19 @@ namespace Client
Debug.WriteLine("Host button clicked"); Debug.WriteLine("Host button clicked");
}); });
JoinSelectedLobby = new RelayCommand(() => JoinSelectedLobby = new RelayCommand(startGameInLobby, true);
}
private void startGameInLobby()
{ {
if (SelectedLobby != null) if (SelectedLobby != null)
{ {
ClientData.Instance.Lobby = SelectedLobby;
_model.CanStartGame = false; _model.CanStartGame = false;
GameWindow window = new GameWindow(); GameWindow window = new GameWindow();
window.Show(); window.Show();
} }
}, true);
} }
private void ClickCheck() private void ClickCheck()