Пример #1
0
    /// <summary>
    /// 自己翻牌
    /// </summary>
    public void TurnSelfCards()
    {
        TenPlayerUI player = null;

        if (TryGetPlayer(TenModel.Inst.mMySeatId, out player))
        {
            player.TurnCards(player.GetHandCard());
            TenPlayerHandCardsType type = player.GetCardsType();
            if (type != null)
            {
                player.SetCardType(true, type.point, type.ratio, true);
                player.SeparateCards(type.order);
            }
        }
    }