public class CompoundTexture extends CompoundImage implements GraphicsResource
Modifier and Type | Field and Description |
---|---|
protected Texture[] |
texTiles |
BORDER_SIZE_DEFAULT, tiles, u0, u1, uBorderSize, uSections, uSubdivision, v0, v1, vBorderSize, vSections, vSubdivision
Constructor and Description |
---|
CompoundTexture(Image image,
int maxSize) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
Texture |
getTile(int x,
int y,
ResourceFactory factory) |
drawLazy
protected Texture[] texTiles
public CompoundTexture(Image image, int maxSize)
public Texture getTile(int x, int y, ResourceFactory factory)
getTile
in class CompoundImage
public void dispose()
dispose
in interface GraphicsResource
Copyright © 2020. All rights reserved.