Class TileDepthTexture
java.lang.Object
zombie.tileDepth.TileDepthTexture
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintintgetIndex()getName()floatgetPixel(int x, int y) float[]intgetRow()intgetWidth()intindex(int x, int y) booleanisEmpty()voidreload()voidreplacePixels(int x, int y, int w, int h, float oldPixel, float newPixel) voidReset()voidsave()voidsetMinPixel(int x, int y, float pixel) voidsetPixel(int x, int y, float pixel) voidsetPixels(int x, int y, int w, int h, float pixel) void
-
Constructor Details
-
TileDepthTexture
-
-
Method Details
-
getTileset
-
getIndex
public int getIndex() -
getColumn
public int getColumn() -
getRow
public int getRow() -
getName
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
isEmpty
public boolean isEmpty() -
getPixels
public float[] getPixels() -
setPixel
public void setPixel(int x, int y, float pixel) -
getPixel
public float getPixel(int x, int y) -
setMinPixel
public void setMinPixel(int x, int y, float pixel) -
setPixels
public void setPixels(int x, int y, int w, int h, float pixel) -
replacePixels
public void replacePixels(int x, int y, int w, int h, float oldPixel, float newPixel) -
index
public int index(int x, int y) -
save
-
fileExists
public boolean fileExists() -
getTexture
-
updateGPUTexture
public void updateGPUTexture() -
reload
-
Reset
public void Reset()
-