Exemplo n.º 1
0
 /// <summary>
 /// 卡片以覆盖方式进入手卡区时,手卡区控件的操作
 /// </summary>
 /// <param name="cv">手卡区控件</param>
 /// <param name="card">卡片</param>
 public static void add2DeckOP(MyCanvas cv, CardUI card)
 {
     card.reSetAtk();
     card.centerAtVerticalInParent();
     card.clearSigns();
     if (card.Status == Status.FRONT_ATK)
     {
         CardAnimation.turn2Back(card);
     }
     else
     {
         card.set2BackAtk();
     }
     card.ContextMenu = AllMenu.Instance.cm_deck;
 }