public void SwapPositions(int pos, int pos2) { DeckCard dc = Cards[pos]; Cards[pos] = Cards[pos2]; Cards[pos2] = dc; }
public DeckCard DrawCard() { if (Cards == null || DeckPosition >= Cards.Count) { return(null); } DeckCard returnCard = Cards[DeckPosition]; DeckPosition++; return(returnCard); }
public void AddCard(DeckCard d) { Cards.Add(d); }