예제 #1
0
        public async Task GetSelectedGameData(int GameId)
        {
            Game = await GameProcesses.MakeSavedGame(serverWorker, GameId);

            CancelGame = await GameProcesses.StartGame(serverWorker, Game);

            GameStateInfo = await serverWorker.TaskGetGameState(Game.IdGame);
        }
예제 #2
0
        public async Task GetSelectedGameData(int gameId)
        {
            if (IsGameStarted)
            {
                return;
            }
            IsGameStarted = true;
            Game          = await GameProcesses.MakeSavedGame(serverWorker, gameId);

            GameStateInfo = await serverWorker.TaskGetGameState(Game.IdGame);
        }