}
private void createClouds(String file) {
CloudInitializer initClouds = new CloudInitializer(file);
int cloudAmount;
CloudSpec cloudSpecification;
cloudAmount = initClouds.getCloudAmount();
for (int i = 0; i < cloudAmount; i++) {
cloudSpecification = initClouds.getCloudSpec(i);
CloudFactory.setCloudSize(cloudSpecification.getCloudSize());
CloudFactory.setMotionType(cloudSpecification.getMotionType());
CloudFactory.setStartPosition(cloudSpecification.getStartPosition());
CloudFactory.setEndPosition(cloudSpecification.getEndPosition());
CloudFactory.setBoundingBox(cloudSpecification.getBBox());
CloudFactory.setVelocity(cloudSpecification.getVelocity());
createInstance(CloudFactory.getFactory());
}
}