Inheritance: PlayerActionFromCardResponses
Beispiel #1
0
 public void GetAllCardsInStrategy(System.Collections.Generic.HashSet <Card> cardSet)
 {
     Dominion.Strategy.PlayerAction playerAction = this.ToPlayerAction("GetAllCardsInStategy");
     PlayerAction.AddAllCards(cardSet, playerAction);
 }
 public PlayerActionAndSource(string fileName, PlayerAction playerAction)
 {
     this.fileName = fileName;
     this.playerAction = playerAction;
 }
Beispiel #3
0
 public static bool IsGainingCard(this PlayerAction playerAction, Card card, GameState gameState)
 {
     return(playerAction.purchaseOrder.DoesCardPickerMatch(gameState, card));
 }
Beispiel #4
0
 public static void AddAllCards(HashSet <Card> cardSet, PlayerAction playerAction)
 {
     AddAllCards(cardSet, playerAction.actionOrder);
     AddAllCards(cardSet, playerAction.purchaseOrder);
     AddAllCards(cardSet, playerAction.gainOrder);
 }