com.fastasyncworldedit.core.math.heightmap.AbstractDelegateHeightMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of FastAsyncWorldEdit-Core Show documentation
Show all versions of FastAsyncWorldEdit-Core Show documentation
Blazingly fast Minecraft world manipulation for artists, builders and everyone else.
package com.fastasyncworldedit.core.math.heightmap;
public class AbstractDelegateHeightMap implements HeightMap {
private final HeightMap parent;
public AbstractDelegateHeightMap(HeightMap parent) {
this.parent = parent;
}
@Override
public double getHeight(int x, int z) {
return parent.getHeight(x, z);
}
@Override
public void setSize(int size) {
parent.setSize(size);
}
}