public class OverlayTexture
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Field and Description |
---|---|
static int |
NO_OVERLAY |
private DynamicTexture |
texture |
Constructor and Description |
---|
OverlayTexture() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static int |
getPackedUV(float uIn,
boolean hurtIn) |
static int |
getPackedUV(int uIn,
int vIn) |
static int |
getU(float uIn) |
static int |
getV(boolean hurtIn) |
void |
setupOverlayColor() |
void |
teardownOverlayColor() |
public static final int NO_OVERLAY
private final DynamicTexture texture
public void close()
close
in interface java.lang.AutoCloseable
public void setupOverlayColor()
public static int getU(float uIn)
public static int getV(boolean hurtIn)
public static int getPackedUV(int uIn, int vIn)
public static int getPackedUV(float uIn, boolean hurtIn)
public void teardownOverlayColor()