public void setPixelState(generic.util.math.PixelPos pos, float pixel, float state) { worldFile[pos.getX(), pos.getZ()] = new pixelData(pos.getY(), (int)pixel, (int)state); }
//Get / Set Pixel public generic.pixel.Pixel getPixelState(generic.util.math.PixelPos pos) { return(new pixel.Pixel(worldFile[pos.getX(), pos.getZ()].getPixel, worldFile[pos.getX(), pos.getZ()].getState)); }
public void setPixelState(generic.util.math.PixelPos pos, generic.pixel.Pixel pixel) { worldFile[pos.getX(), pos.getZ()] = new pixelData(pos.getY(), pixel.getPixelID(), pixel.getState()); }
public int getHeight(generic.util.math.PixelPos pos) { return(worldFile[pos.getX(), pos.getZ()].getHeight); }