Class StatBin


public class StatBin extends Object
Statistical bin for a given group of characters.
Since:
2014-07-01
  • Field Details

  • Constructor Details

    • StatBin

      public StatBin()
      Constructor.
  • Method Details

    • addCharacter

      public void addCharacter(Character c)
      Add a new character into these stats.
    • size

      public int size()
      Get size of the bin.
    • getMeanHp

      double getMeanHp()
      Compute mean hit points.
    • getMeanHpRoll

      double getMeanHpRoll()
      Compute mean hit points rolled.
    • getMeanAge

      double getMeanAge()
      Compute mean age.
    • getMeanAbility

      double getMeanAbility(Ability a)
      Compute mean ability score.