public class BoundingBox implements IGen{
public final BlockType blockType = BlockType.BEDROCK;
public void gen(World w) {
for (int x = -1; x <= w.width; x++) {
w.makeBlock(blockType, new Vec(x, -1));
w.makeBlock(blockType, new Vec(x, w.width));
}
for (int y = -1; y <= w.height; y++) {
w.makeBlock(blockType, new Vec(-1, y));
w.makeBlock(blockType, new Vec(w.height, y));
}
}