C# Class Dominion.Strategy.CardAcceptance

Afficher le fichier Open project: NathanTeeuwen/Dominulator Class Usage Examples

Méthodes publiques

Свойство Type Description
DefaultMatch GameStatePredicate
DefaultOverpayAmount GameStateIntValue

Méthodes publiques

Méthode Description
AlwaysMatch ( GameState gameState ) : bool
CardAcceptance ( Dominion.Card card ) : Dominion
CardAcceptance ( Dominion.Card card, GameStatePredicate match ) : Dominion
CardAcceptance ( Dominion.Card card, GameStatePredicate match, GameStateIntValue overpayAmount ) : Dominion
For ( Dominion.Card card ) : CardAcceptance
For ( Dominion.Card card, CountSource countSource, Comparison comparison, int threshhold ) : CardAcceptance
For ( Dominion.Card card, CountSource countSource, Comparison comparison, int threshhold, GameStatePredicate match ) : CardAcceptance
For ( Dominion.Card card, GameStatePredicate match ) : CardAcceptance
For ( Dominion.Card card, GameStatePredicate match, GameStateIntValue overpayAmount ) : CardAcceptance
For ( Dominion.Card card, int threshhold ) : CardAcceptance
For ( Dominion.Card card, int threshhold, GameStatePredicate match ) : CardAcceptance
OverPayMaxAmount ( GameState gameState ) : int
OverPayZero ( GameState gameState ) : int

Method Details

AlwaysMatch() public static méthode

public static AlwaysMatch ( GameState gameState ) : bool
gameState Dominion.GameState
Résultat bool

CardAcceptance() public méthode

public CardAcceptance ( Dominion.Card card ) : Dominion
card Dominion.Card
Résultat Dominion

CardAcceptance() public méthode

public CardAcceptance ( Dominion.Card card, GameStatePredicate match ) : Dominion
card Dominion.Card
match GameStatePredicate
Résultat Dominion

CardAcceptance() public méthode

public CardAcceptance ( Dominion.Card card, GameStatePredicate match, GameStateIntValue overpayAmount ) : Dominion
card Dominion.Card
match GameStatePredicate
overpayAmount GameStateIntValue
Résultat Dominion

For() public static méthode

public static For ( Dominion.Card card ) : CardAcceptance
card Dominion.Card
Résultat CardAcceptance

For() public static méthode

public static For ( Dominion.Card card, CountSource countSource, Comparison comparison, int threshhold ) : CardAcceptance
card Dominion.Card
countSource CountSource
comparison Comparison
threshhold int
Résultat CardAcceptance

For() public static méthode

public static For ( Dominion.Card card, CountSource countSource, Comparison comparison, int threshhold, GameStatePredicate match ) : CardAcceptance
card Dominion.Card
countSource CountSource
comparison Comparison
threshhold int
match GameStatePredicate
Résultat CardAcceptance

For() public static méthode

public static For ( Dominion.Card card, GameStatePredicate match ) : CardAcceptance
card Dominion.Card
match GameStatePredicate
Résultat CardAcceptance

For() public static méthode

public static For ( Dominion.Card card, GameStatePredicate match, GameStateIntValue overpayAmount ) : CardAcceptance
card Dominion.Card
match GameStatePredicate
overpayAmount GameStateIntValue
Résultat CardAcceptance

For() public static méthode

public static For ( Dominion.Card card, int threshhold ) : CardAcceptance
card Dominion.Card
threshhold int
Résultat CardAcceptance

For() public static méthode

public static For ( Dominion.Card card, int threshhold, GameStatePredicate match ) : CardAcceptance
card Dominion.Card
threshhold int
match GameStatePredicate
Résultat CardAcceptance

OverPayMaxAmount() public static méthode

public static OverPayMaxAmount ( GameState gameState ) : int
gameState Dominion.GameState
Résultat int

OverPayZero() public static méthode

public static OverPayZero ( GameState gameState ) : int
gameState Dominion.GameState
Résultat int

Property Details

DefaultMatch public_oe static_oe property

public static GameStatePredicate DefaultMatch
Résultat GameStatePredicate

DefaultOverpayAmount public_oe static_oe property

public static GameStateIntValue DefaultOverpayAmount
Résultat GameStateIntValue