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