Exemplo n.º 1
0
    /// <summary>
    /// 自己翻牌
    /// </summary>
    public void TurnSelfCards()
    {
        NiuniuPlayerUI player = null;

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