this.state = state;
this.fpsCounter = new FpsCounter();
this.fpsShowing = state.isFpsShowing();
this.counter = new TimeCounter(state.getTimeCounter());
this.age = state.getAge();
this.universe3D = new BasicUniverse3D();
this.environment = new BasicEnvironment(state.getEnvironment());
this.trees = new ArrayList<Tree>();
Set<TreeState> treeStates = state.getTrees();
for (TreeState treeState : treeStates) {
BasicTree newTree = new BasicTree(this, treeState);