package NoiseGen.NoiseContainer.populated.combined;
import NoiseGen.Wrapper.DimensionWrapper;
import NoiseGen.Wrapper.RidgeWrapper;
/**
* Created by IntelliJ IDEA.
* Author: Jesse Weiman
* Date: 6/2/12
* Time: 12:16 AM
*/
public class RidgedMultiCombiner extends AdditiveLayers {
double offset = 1.0;
public RidgedMultiCombiner(int x, int y, int z) {
super(x, y, z);
}
@Override
public void combine() {
for(int i = 0; i < getOctaves().size(); i++)
getOctaves().set(i, new DimensionWrapper(new RidgeWrapper(getOctaves().get(i), offset), getLength(), getHeight(), getDepth()));
super.combine();
}
public double getOffset() {
return offset;
}
public void setOffset(double offset) {
this.offset = offset;
}
}