Exemplo n.º 1
0
    private void CreateLocalPlayer(LudoType playerType, string playerName)
    {
        BoardPlayerUI boardPlayerUI = boardUI.GetPlayer(playerType);
        BoardPlayer   boardPlayer   = board.CreatePlayer(playerType);

        boardPlayerUI.SetUITileManager(uiTileManager);
        playerManager.CreateLocalPlayer(playerType, playerName, boardPlayer, boardPlayerUI);
    }