C# Class Strategies.Doctor.MyPlayerAction

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

Méthodes publiques

Méthode Description
ChooseBetween ( GameState gameState, IsValidChoice acceptableChoice ) : PlayerActionChoice
GetCardFromRevealedCardsToPutOnDeck ( GameState gameState ) : Dominion.Card
GetCoinAmountToOverpayForCard ( GameState gameState, Dominion.Card card ) : int
MyPlayerAction ( ) : System
NameACard ( GameState gameState ) : Dominion.Card

Method Details

ChooseBetween() public méthode

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

GetCardFromRevealedCardsToPutOnDeck() public méthode

public GetCardFromRevealedCardsToPutOnDeck ( GameState gameState ) : Dominion.Card
gameState Dominion.GameState
Résultat Dominion.Card

GetCoinAmountToOverpayForCard() public méthode

public GetCoinAmountToOverpayForCard ( GameState gameState, Dominion.Card card ) : int
gameState Dominion.GameState
card Dominion.Card
Résultat int

MyPlayerAction() public méthode

public MyPlayerAction ( ) : System
Résultat System

NameACard() public méthode

public NameACard ( GameState gameState ) : Dominion.Card
gameState Dominion.GameState
Résultat Dominion.Card