C# Класс Dominion.Data.StatsPerTurnGameLog

Наследование: Dominion.EmptyGameLog
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

BeginTurn() публичный Метод

public BeginTurn ( PlayerState playerState ) : void
playerState Dominion.PlayerState
Результат void

EndGame() публичный Метод

public EndGame ( GameState gameState ) : void
gameState Dominion.GameState
Результат void

EndRound() публичный Метод

public EndRound ( GameState gameState ) : void
gameState Dominion.GameState
Результат void

EndTurn() публичный Метод

public EndTurn ( PlayerState playerState ) : void
playerState Dominion.PlayerState
Результат void

PlayerBoughtCard() публичный Метод

public PlayerBoughtCard ( PlayerState playerState, Dominion.Card card ) : void
playerState Dominion.PlayerState
card Dominion.Card
Результат void

PlayerGainedCard() публичный Метод

public PlayerGainedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState Dominion.PlayerState
card Dominion.Card
Результат void

PlayerGainedCoin() публичный Метод

public PlayerGainedCoin ( PlayerState playerState, int coinAmount ) : void
playerState Dominion.PlayerState
coinAmount int
Результат void

PlayerTrashedCard() публичный Метод

public PlayerTrashedCard ( PlayerState playerState, Dominion.Card card ) : void
playerState Dominion.PlayerState
card Dominion.Card
Результат void

ReshuffledDiscardIntoDeck() публичный Метод

public ReshuffledDiscardIntoDeck ( PlayerState playerState ) : void
playerState Dominion.PlayerState
Результат void

StatsPerTurnGameLog() публичный Метод

public StatsPerTurnGameLog ( int playerCount, CardGameSubset gameSubset ) : System
playerCount int
gameSubset CardGameSubset
Результат System

Описание свойств

cardsGained публичное свойство

public ForwardAndReversePerTurnPlayerCounters cardsGained
Результат ForwardAndReversePerTurnPlayerCounters

cardsTotalCount публичное свойство

public MapOfCardsForGameSubset cardsTotalCount
Результат MapOfCardsForGameSubset

carsGainedOnTurn публичное свойство

public MapOfCardsForGameSubset carsGainedOnTurn
Результат MapOfCardsForGameSubset

coinToSpend публичное свойство

public ForwardAndReversePerTurnPlayerCounters coinToSpend
Результат ForwardAndReversePerTurnPlayerCounters

cursesGained публичное свойство

public ForwardAndReversePerTurnPlayerCounters cursesGained
Результат ForwardAndReversePerTurnPlayerCounters

cursesTrashed публичное свойство

public ForwardAndReversePerTurnPlayerCounters cursesTrashed
Результат ForwardAndReversePerTurnPlayerCounters

deckShuffleCount публичное свойство

public ForwardAndReversePerTurnPlayerCounters deckShuffleCount
Результат ForwardAndReversePerTurnPlayerCounters

endOfGameCardCount публичное свойство

public MapOfCardsForGameSubset endOfGameCardCount
Результат MapOfCardsForGameSubset

oddsOfBeingAheadOnRoundEnd публичное свойство

public ForwardAndReversePerTurnPlayerCounters oddsOfBeingAheadOnRoundEnd
Результат ForwardAndReversePerTurnPlayerCounters

oddsOfHittingAtLeastACoinAmount публичное свойство

public ForwardAndReversePerTurnPlayerCounters[] oddsOfHittingAtLeastACoinAmount
Результат ForwardAndReversePerTurnPlayerCounters[]

ruinsGained публичное свойство

public ForwardAndReversePerTurnPlayerCounters ruinsGained
Результат ForwardAndReversePerTurnPlayerCounters

turnCounters публичное свойство

public ForwardAndReversePerTurnPlayerCounters turnCounters
Результат ForwardAndReversePerTurnPlayerCounters

victoryPointTotal публичное свойство

public ForwardAndReversePerTurnPlayerCounters victoryPointTotal
Результат ForwardAndReversePerTurnPlayerCounters