public void playAllTreasureCards() { for (int i = 0; i < Hand.Count; i++) { Card card = Hand[i]; if (card is TreasureCard) { card.playCard(); moveCardFromHandToInPlay(i--); } } }