Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 //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));
 }
Exemplo n.º 3
0
 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());
 }
Exemplo n.º 4
0
 public int getHeight(generic.util.math.PixelPos pos)
 {
     return(worldFile[pos.getX(), pos.getZ()].getHeight);
 }