public void Connect(string id, string name)
        {
            var player = _playerManager.CreatePlayer(id, name);

            _events.OnPlayerConnected(player);

            StartNextLevel(player);
        }
Example #2
0
        public void Connect(string id, string name)
        {
            var player = _playerManager.CreatePlayer(id);

            _gameEvents.OnPlayerConnected(player);
        }