Class StatBin
java.lang.Object
StatBin
Statistical bin for a given group of characters.
- Since:
- 2014-07-01
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a new character into these stats.(package private) double
Compute mean ability score.(package private) double
Compute mean age.(package private) double
Compute mean hit points.(package private) double
Compute mean hit points rolled.int
size()
Get size of the bin.
-
Field Details
-
bin
List of characters included.
-
-
Constructor Details
-
StatBin
public StatBin()Constructor.
-
-
Method Details
-
addCharacter
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
Compute mean ability score.
-