Exemple #1
0
 public Card(CardColor color, CardType type, PerformCardAction performCardAction)
 {
     this.setColor(color);
     Type = type;
     PerformCardAction = performCardAction;
     CardWithNoActions = true;
 }
Exemple #2
0
 public Card(CardType type, PerformCardAction performCardAction)
 {
     Type = type;
     PerformCardAction = performCardAction;
     CardWithNoActions = true;
 }
Exemple #3
0
 public override void playCard()
 {
     PerformCardAction.NextTurn();
     Console.WriteLine(lookAtCard() + " was played.");
 }