DateUpdater dateUpdater = new DateUpdater(dateUpdaterState, dateHandler.getDate());
synchronizer.schedule(dateUpdater);
this.trees = new HashSet<Tree>();
Set<TreeState> treeStates = state.getTrees();
for (TreeState treeState : treeStates) {
BasicTree newTree = new BasicTree(this, treeState);
trees.add(newTree);
System.out.println("nb Leaves=" + newTree.getNbLeaves());
}
this.fallenLeaves = new HashSet<TreeLeaf>();
Set<TreeLeafState> fallenLeafStates = state.getFallenLeaves();
for (TreeLeafState fallenLeafState : fallenLeafStates) {
fallenLeaves.add(new BasicTreeLeaf(this, fallenLeafState));