public interface TiledMapTile
Modifier and Type | Interface and Description |
---|---|
static class |
TiledMapTile.BlendMode |
Modifier and Type | Method and Description |
---|---|
TiledMapTile.BlendMode |
getBlendMode() |
int |
getId() |
float |
getOffsetX() |
float |
getOffsetY() |
MapProperties |
getProperties() |
TextureRegion |
getTextureRegion() |
void |
setBlendMode(TiledMapTile.BlendMode blendMode)
Sets the
TiledMapTile.BlendMode to use for rendering the tile |
void |
setId(int id) |
void |
setOffsetX(float offsetX)
Set the amount to offset the x position when rendering the tile
|
void |
setOffsetY(float offsetY)
Set the amount to offset the y position when rendering the tile
|
void |
setTextureRegion(TextureRegion textureRegion)
Sets the texture region used to render the tile
|
int getId()
void setId(int id)
TiledMapTile.BlendMode getBlendMode()
TiledMapTile.BlendMode
to use for rendering the tilevoid setBlendMode(TiledMapTile.BlendMode blendMode)
TiledMapTile.BlendMode
to use for rendering the tileblendMode
- the blend mode to use for rendering the tileTextureRegion getTextureRegion()
void setTextureRegion(TextureRegion textureRegion)
float getOffsetX()
void setOffsetX(float offsetX)
float getOffsetY()
void setOffsetY(float offsetY)
MapProperties getProperties()
Copyright © 2015. All rights reserved.