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); }
public static void GetMarket() { MyHands.Add(MJStacks[0], MyHands.Market); MJStacks.RemoveAt(0); }
public static void GetTiles() { MyHands.Add(MJStacks[0], MyHands.Tiles); MJStacks.RemoveAt(0); }