branches.add(createRandomTreeBranchState());
}
ConditionalTaskState photosynthesis = UtilDataCreatorForTests.createRandomConditionalTaskState();
ConditionalTaskState aging = UtilDataCreatorForTests.createRandomConditionalTaskState();
ConditionalTaskState growth = UtilDataCreatorForTests.createRandomConditionalTaskState();
TreeTrunkState trunkState = createRandomTreeTrunkState();
float height = (float) Math.random();
Tree3DState tree3dState = DisplayDataCreatorForTests.createRandomTree3DState();
return new TreeState(age, energy, branches, photosynthesis, aging, growth, trunkState, height, tree3dState);
}