return new TreeTrunkState(age, radius, height, trunk3DState);
}
public static TreeLeafState createRandomTreeLeafState() {
BigDecimal efficiency = UtilDataCreatorForTests.createRandomBigDecimal();
TreeLeaf3DState leafd3DState = DisplayDataCreatorForTests.createRandomTreeLeaf3DState();
int age = Randomizer.randomBetween(0, 100);
BigDecimal energy = new BigDecimal(Randomizer.randomBetween(0, 100));
BigDecimal freeEnergy = new BigDecimal(Randomizer.randomBetween(0, 50));
return new TreeLeafState(age, energy, freeEnergy, efficiency, leafd3DState);
}