public class EnvironmentStateFactory {
public EnvironmentState createEnvironmentState() {
SunStateFactory sunStateFactory = new SunStateFactory();
SunState sunState = sunStateFactory.createSunState();
Environment3DStateFactory env3DStateFactory = new Environment3DStateFactory();
Environment3DState env3DState = env3DStateFactory.createEnvironment3DState();
return new EnvironmentState(sunState, env3DState);
}