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

Inheritance: DerivedPlayerAction
Afficher le fichier Open project: NathanTeeuwen/Dominulator

Méthodes publiques

Méthode 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 méthode

public ChooseBetween ( GameState gameState, IsValidChoice acceptableChoice ) : PlayerActionChoice
gameState Dominion.GameState
acceptableChoice IsValidChoice
Résultat PlayerActionChoice

GetCardFromHandToTrash() public méthode

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

Governor() public méthode

public Governor ( Dominion.DefaultPlayerAction playerAction ) : System
playerAction Dominion.DefaultPlayerAction
Résultat System