Package com.takenoko.stats
Class GameProgressStatistics
java.lang.Object
com.takenoko.stats.GameProgressStatistics
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GameProgressprivate final HashMap<ObjectiveType,Float> private intprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionAverage(String action) actionPercentage(String action) booleaninthashCode()voidobjectiveAverage(ObjectiveType objectiveTypes) toString()voidupdate(TurnHistory turnHistory) voidupdateActions(Action action) voidupdateRedeemedObjectives(List<Objective> objectiveList) voidupdateRedeemedOneObjective(Objective objective)
-
Field Details
-
gameProgress
-
totalNbOfRounds
private int totalNbOfRounds -
totalNbOfAction
private int totalNbOfAction -
actions
-
totalNbOfRedeemedObjectives
private int totalNbOfRedeemedObjectives -
objectives
-
-
Constructor Details
-
GameProgressStatistics
-
-
Method Details
-
incrementNbOfRounds
public void incrementNbOfRounds() -
updateActions
-
actionPercentage
-
actionAverage
-
updateRedeemedOneObjective
-
objectiveAverage
-
updateRedeemedObjectives
-
toString
-
update
-
equals
-
hashCode
public int hashCode() -
getActions
-