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;
GameWindow window = new GameWindow();
window.Show();
}
}, true); _model.CanStartGame = false;
GameWindow window = new GameWindow();
window.Show();
}
} }
private void ClickCheck() private void ClickCheck()