C# Class Dominion.Data.StatsPerTurnGameLog

Inheritance: Dominion.EmptyGameLog
Mostra file Open project: NathanTeeuwen/Dominulator Class Usage Examples

Public Properties

Property Type Description
cardsGained ForwardAndReversePerTurnPlayerCounters
cardsTotalCount MapOfCardsForGameSubset
carsGainedOnTurn MapOfCardsForGameSubset
coinToSpend ForwardAndReversePerTurnPlayerCounters
cursesGained ForwardAndReversePerTurnPlayerCounters
cursesTrashed ForwardAndReversePerTurnPlayerCounters
deckShuffleCount ForwardAndReversePerTurnPlayerCounters
endOfGameCardCount MapOfCardsForGameSubset
oddsOfBeingAheadOnRoundEnd ForwardAndReversePerTurnPlayerCounters
oddsOfHittingAtLeastACoinAmount ForwardAndReversePerTurnPlayerCounters[]
ruinsGained ForwardAndReversePerTurnPlayerCounters
turnCounters ForwardAndReversePerTurnPlayerCounters
victoryPointTotal ForwardAndReversePerTurnPlayerCounters

Public Methods

Method Description
BeginTurn ( PlayerState playerState ) : void
EndGame ( GameState gameState ) : void
EndRound ( GameState gameState ) : void
EndTurn ( PlayerState playerState ) : void
PlayerBoughtCard ( PlayerState playerState, Dominion.Card card ) : void
PlayerGainedCard ( PlayerState playerState, Dominion.Card card ) : void
PlayerGainedCoin ( PlayerState playerState, int coinAmount ) : void
PlayerTrashedCard ( PlayerState playerState, Dominion.Card card ) : void
ReshuffledDiscardIntoDeck ( PlayerState playerState ) : void
StatsPerTurnGameLog ( int playerCount, CardGameSubset gameSubset ) : System

Private Methods

Method Description
ContstructCounter ( int playerCount, CardGameSubset gameSubset ) : MapOfCardsForGameSubset
ContstructCounterPerTurn ( int playerCount, CardGameSubset gameSubset ) : MapOfCardsForGameSubset
EndGameAllCounters ( IEnumerable counters, GameState gameState ) : void
EndGamePerCard ( MapOfCardsForGameSubset map, GameState gameState ) : void
IncrementAllDivisors ( MapOfCardsForGameSubset map, PlayerState playerState ) : void
PlayerGainedOrBoughtCard ( PlayerState playerState, Dominion.Card card ) : void

Method Details

BeginTurn() public method

public BeginTurn ( PlayerState playerState ) : void
playerState Dominion.PlayerState
return void

EndGame() public method

public EndGame ( GameState gameState ) : void
gameState Dominion.GameState
return void

EndRound() public method

public EndRound ( GameState gameState ) : void
gameState Dominion.GameState
return void

EndTurn() public method

public EndTurn ( PlayerState playerState ) : void
playerState Dominion.PlayerState
return void

PlayerBoughtCard() public method

public PlayerBoughtCard ( PlayerState playerState, Dominion.Card card ) : void
playerState Dominion.PlayerState
card Dominion.Card
return void

PlayerGainedCard() public method

public PlayerGainedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState Dominion.PlayerState
card Dominion.Card
return void

PlayerGainedCoin() public method

public PlayerGainedCoin ( PlayerState playerState, int coinAmount ) : void
playerState Dominion.PlayerState
coinAmount int
return void

PlayerTrashedCard() public method

public PlayerTrashedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState Dominion.PlayerState
card Dominion.Card
return void

ReshuffledDiscardIntoDeck() public method

public ReshuffledDiscardIntoDeck ( PlayerState playerState ) : void
playerState Dominion.PlayerState
return void

StatsPerTurnGameLog() public method

public StatsPerTurnGameLog ( int playerCount, CardGameSubset gameSubset ) : System
playerCount int
gameSubset CardGameSubset
return System

Property Details

cardsGained public_oe property

public ForwardAndReversePerTurnPlayerCounters cardsGained
return ForwardAndReversePerTurnPlayerCounters

cardsTotalCount public_oe property

public MapOfCardsForGameSubset cardsTotalCount
return MapOfCardsForGameSubset

carsGainedOnTurn public_oe property

public MapOfCardsForGameSubset carsGainedOnTurn
return MapOfCardsForGameSubset

coinToSpend public_oe property

public ForwardAndReversePerTurnPlayerCounters coinToSpend
return ForwardAndReversePerTurnPlayerCounters

cursesGained public_oe property

public ForwardAndReversePerTurnPlayerCounters cursesGained
return ForwardAndReversePerTurnPlayerCounters

cursesTrashed public_oe property

public ForwardAndReversePerTurnPlayerCounters cursesTrashed
return ForwardAndReversePerTurnPlayerCounters

deckShuffleCount public_oe property

public ForwardAndReversePerTurnPlayerCounters deckShuffleCount
return ForwardAndReversePerTurnPlayerCounters

endOfGameCardCount public_oe property

public MapOfCardsForGameSubset endOfGameCardCount
return MapOfCardsForGameSubset

oddsOfBeingAheadOnRoundEnd public_oe property

public ForwardAndReversePerTurnPlayerCounters oddsOfBeingAheadOnRoundEnd
return ForwardAndReversePerTurnPlayerCounters

oddsOfHittingAtLeastACoinAmount public_oe property

public ForwardAndReversePerTurnPlayerCounters[] oddsOfHittingAtLeastACoinAmount
return ForwardAndReversePerTurnPlayerCounters[]

ruinsGained public_oe property

public ForwardAndReversePerTurnPlayerCounters ruinsGained
return ForwardAndReversePerTurnPlayerCounters

turnCounters public_oe property

public ForwardAndReversePerTurnPlayerCounters turnCounters
return ForwardAndReversePerTurnPlayerCounters

victoryPointTotal public_oe property

public ForwardAndReversePerTurnPlayerCounters victoryPointTotal
return ForwardAndReversePerTurnPlayerCounters