Class SingleBotStatistics

java.lang.Object
com.takenoko.stats.SingleBotStatistics

public class SingleBotStatistics extends Object
This class represents an extended list of statistics for a specific BotManager
  • Field Details

  • Constructor Details

  • Method Details

    • incrementWins

      public void incrementWins()
    • incrementLosses

      public void incrementLosses()
    • incrementIrrigationsPlaced

      public void incrementIrrigationsPlaced()
    • updateScore

      public void updateScore(int toAdd)
    • updateObjectivesRedeemed

      public void updateObjectivesRedeemed(Objective objective)
    • updateEatenBambooCounter

      public void updateEatenBambooCounter(TileColor tileColor)
    • updatePlantedBambooCounter

      public void updatePlantedBambooCounter(TileColor tileColor, int count)
    • updateTilesPlacedCounter

      public void updateTilesPlacedCounter(TileColor tileColor)
    • updateWeathersRolled

      public void updateWeathersRolled(String weather)
    • updateWeathersApplied

      public void updateWeathersApplied(String weather)
    • updateActions

      public void updateActions(String action)
    • copy

      public SingleBotStatistics copy()
    • reset

      public void reset()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getNumericStats

      public Map<String,Integer> getNumericStats()
    • getTotalNbOfAction

      public int getTotalNbOfAction()
    • getObjectivesRedeemed

      public Map<ObjectiveType,Integer> getObjectivesRedeemed()
    • getBambooCounter

      public Map<TileColor,org.apache.commons.lang3.tuple.MutablePair<Integer,Integer>> getBambooCounter()
    • getTilesPlaced

      public Map<TileColor,Integer> getTilesPlaced()
    • getWeathers

      public Map<String,org.apache.commons.lang3.tuple.MutablePair<Integer,Integer>> getWeathers()
    • getActions

      public Map<String,Integer> getActions()
    • addStatistics

      public void addStatistics(SingleBotStatistics value)
    • getWins

      public int getWins()
    • getLosses

      public int getLosses()
    • getFinalScore

      public int getFinalScore()