public abstract class CompoundImage extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BORDER_SIZE_DEFAULT |
protected Image[] |
tiles |
protected int[] |
u0 |
protected int[] |
u1 |
protected int |
uBorderSize |
protected int |
uSections |
protected int[] |
uSubdivision |
protected int[] |
v0 |
protected int[] |
v1 |
protected int |
vBorderSize |
protected int |
vSections |
protected int[] |
vSubdivision |
Constructor and Description |
---|
CompoundImage(Image image,
int maxSize) |
CompoundImage(Image image,
int maxSize,
int borderSize) |
Modifier and Type | Method and Description |
---|---|
void |
drawLazy(Graphics g,
Coords crd,
float x,
float y) |
protected abstract Texture |
getTile(int x,
int y,
ResourceFactory factory) |
public static final int BORDER_SIZE_DEFAULT
protected final int[] uSubdivision
protected final int[] u0
protected final int[] u1
protected final int[] vSubdivision
protected final int[] v0
protected final int[] v1
protected final int uSections
protected final int vSections
protected final int uBorderSize
protected final int vBorderSize
protected Image[] tiles
public CompoundImage(Image image, int maxSize)
public CompoundImage(Image image, int maxSize, int borderSize)
protected abstract Texture getTile(int x, int y, ResourceFactory factory)
Copyright © 2020. All rights reserved.