Beispiel #1
0
 private void CreateLobby(LobbyParams lobbyParams)
 {
     Lobby = _lobbyFactory.CreateLobby(lobbyParams);
     //Lobby
     //    .GameObservable
     //    .Take(1)
     //    .Subscribe(CreateGame);
 }
Beispiel #2
0
        public void Start()
        {
            _doContinue      = true;
            UserPlayerParams = _userService.GetPlayerParams();
//UserPlayerState = _playerFactory.CreatePlayer(UserPlayerParams);
            LobbyParams lobbyParams = new LobbyParams
            {
                Players = new PlayerParams[] { UserPlayerParams }
            };

            CreateLobby(lobbyParams);
        }