public abstract class Tile extends TileSource
| Constructor and Description |
|---|
Tile() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
addToBatch(QuadBatch batch,
int tint,
AffineTransform tx,
float x,
float y,
float width,
float height)
Adds this tile to the supplied quad batch.
|
abstract void |
addToBatch(QuadBatch batch,
int tint,
AffineTransform tx,
float dx,
float dy,
float dw,
float dh,
float sx,
float sy,
float sw,
float sh)
Adds this tile to the supplied quad batch.
|
abstract float |
height()
The height of this tile (in display units).
|
boolean |
isLoaded()
Returns whether this tile source is loaded and ready to provide its tile.
|
abstract float |
sx()
Returns the
s texture coordinate for the x-axis. |
abstract float |
sy()
Returns the
s texture coordinate for the y-axis. |
abstract Texture |
texture()
The texture which contains this tile.
|
Tile |
tile()
Returns the tile provided by this source.
|
RFuture<Tile> |
tileAsync()
Delivers the tile provided by this source once the source is loaded.
|
java.lang.String |
toString() |
abstract float |
tx()
Returns the
t texture coordinate for the x-axis. |
abstract float |
ty()
Returns the
t texture coordinate for the y-axis. |
abstract float |
width()
The width of this tile (in display units).
|
public abstract Texture texture()
public abstract float width()
public abstract float height()
public abstract float sx()
s texture coordinate for the x-axis.public abstract float sy()
s texture coordinate for the y-axis.public abstract float tx()
t texture coordinate for the x-axis.public abstract float ty()
t texture coordinate for the y-axis.public abstract void addToBatch(QuadBatch batch, int tint, AffineTransform tx, float x, float y, float width, float height)
public abstract void addToBatch(QuadBatch batch, int tint, AffineTransform tx, float dx, float dy, float dw, float dh, float sx, float sy, float sw, float sh)
public boolean isLoaded()
TileSourceisLoaded in class TileSourcepublic Tile tile()
TileSourcetile in class TileSourcepublic RFuture<Tile> tileAsync()
TileSourcetileAsync in class TileSourcepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018. All Rights Reserved.