示例#1
0
 public static void Pay()
 {
     for (int i = 0; i < SelectedDeal.Count; i++)
     {
         if (MyHands.Hands.Components.Contains(SelectedDeal[i]))
         {
             MyHands.Hands.Components.Remove(SelectedDeal[i]);
         }
         if (MyHands.Tiles.Components.Contains(SelectedDeal[i]))
         {
             MyHands.Tiles.Components.Remove(SelectedDeal[i]);
         }
     }
     while (SelectedDeal.Count > 0)
     {
         SelectedDeal.RemoveAt(0);
     }
     MyHands.Add(MyHands.Codes[MyHands.Market[SelectedMarketIndex]], MyHands.Hands);
 }
示例#2
0
 public static void GetMarket()
 {
     MyHands.Add(MJStacks[0], MyHands.Market);
     MJStacks.RemoveAt(0);
 }
示例#3
0
 public static void GetTiles()
 {
     MyHands.Add(MJStacks[0], MyHands.Tiles);
     MJStacks.RemoveAt(0);
 }