C# Class Dominion.Strategy.DefaultPlayRules.Cards.Governor

Inheritance: DerivedPlayerAction
Show file Open project: NathanTeeuwen/Dominulator

Public Methods

Method Description
ChooseBetween ( GameState gameState, IsValidChoice acceptableChoice ) : PlayerActionChoice
GetCardFromHandToTrash ( GameState gameState, CardPredicate acceptableCard, bool isOptional, CollectionCards cardsTrashedSoFar ) : Dominion.Card
Governor ( Dominion.DefaultPlayerAction playerAction ) : System

Method Details

ChooseBetween() public method

public ChooseBetween ( GameState gameState, IsValidChoice acceptableChoice ) : PlayerActionChoice
gameState Dominion.GameState
acceptableChoice IsValidChoice
return PlayerActionChoice

GetCardFromHandToTrash() public method

public GetCardFromHandToTrash ( GameState gameState, CardPredicate acceptableCard, bool isOptional, CollectionCards cardsTrashedSoFar ) : Dominion.Card
gameState Dominion.GameState
acceptableCard CardPredicate
isOptional bool
cardsTrashedSoFar CollectionCards
return Dominion.Card

Governor() public method

public Governor ( Dominion.DefaultPlayerAction playerAction ) : System
playerAction Dominion.DefaultPlayerAction
return System