private void OnPlayCardHintClicked() { var cardHand = Models.gameModel.playModel.MainPlayerHand; CardSet hintSet = cardHand.GetCardSetGreater(Models.gameModel.playModel.lastHand); if (hintSet.Type == CardSetType.Invalid) { EventCenter.BroadCast(EventType.UIFlashHint, "没有可出的牌"); NetMsgCenter.Instance.SendPassTurnMsg(); return; } view.UnselectAllCard(); view.SelectCards(hintSet.Cards); }
protected override void PassTurn() { base.PassTurn(); view.UnselectAllCard(); view.HideButtons(); }