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; }
public static bool IsGainingCard(this PlayerAction playerAction, Card card, GameState gameState) { return(playerAction.purchaseOrder.DoesCardPickerMatch(gameState, card)); }
public static void AddAllCards(HashSet <Card> cardSet, PlayerAction playerAction) { AddAllCards(cardSet, playerAction.actionOrder); AddAllCards(cardSet, playerAction.purchaseOrder); AddAllCards(cardSet, playerAction.gainOrder); }