public async Task GetSelectedGameData(int GameId) { Game = await GameProcesses.MakeSavedGame(serverWorker, GameId); CancelGame = await GameProcesses.StartGame(serverWorker, Game); GameStateInfo = await serverWorker.TaskGetGameState(Game.IdGame); }
public async Task GetSelectedGameData(int gameId) { if (IsGameStarted) { return; } IsGameStarted = true; Game = await GameProcesses.MakeSavedGame(serverWorker, gameId); GameStateInfo = await serverWorker.TaskGetGameState(Game.IdGame); }