Exemple #1
0
    public void AddAsset(TradeRequest request)
    {
        PlayerState player        = _playerGroup.GetPlayerByIndex(request.playerIndex);
        CardData    card          = player.hand.PopCard(request.handSlot);
        PlayerState partnerPlayer = _teamCollection.GetPartner(request.teamIndex, request.playerIndex);

        _assetStash[partnerPlayer.index] = card;
        _escrow.Add(request);
    }