public interface TileRenderer
extends com.badlogic.gdx.utils.Disposable
| Modifier and Type | Method and Description | 
|---|---|
void | 
draw(Graphics g,
    int renderX,
    int renderY)
Renders the  
Tile at the given coordinates | 
void | 
draw(Graphics g,
    int renderX,
    int renderY,
    boolean flipH,
    boolean flipV,
    boolean flipD)
Renders the  
Tile at the given coordinates | 
Sprite | 
getCurrentTileImage()
Returns the current  
Tile image | 
void | 
update(float delta)
Updates the  
Tile frame | 
void update(float delta)
Tile framedelta - The time since the last update in secondsvoid draw(Graphics g, int renderX, int renderY)
Tile at the given coordinatesg - The Graphics context to userenderX - The x coordinate to render atrenderY - The y coordinate to render atvoid draw(Graphics g, int renderX, int renderY, boolean flipH, boolean flipV, boolean flipD)
Tile at the given coordinatesg - The Graphics context to userenderX - The x coordinate to render atrenderY - The y coordinate to render atflipH - True if the tile is flipped horizontallyflipV - True if the tile is flipped verticallyflipD - True if the tile is flipped (anti) diagonally - rotation