public class StaticTiledMapTile extends java.lang.Object implements TiledMapTile
TiledMapTile.BlendMode| Constructor and Description |
|---|
StaticTiledMapTile(StaticTiledMapTile copy)
Copy constructor
|
StaticTiledMapTile(TextureRegion textureRegion)
Creates a static tile with the given region
|
| Modifier and Type | Method and Description |
|---|---|
TiledMapTile.BlendMode |
getBlendMode() |
int |
getId() |
MapProperties |
getProperties() |
TextureRegion |
getTextureRegion() |
void |
setBlendMode(TiledMapTile.BlendMode blendMode)
Sets the
TiledMapTile.BlendMode to use for rendering the tile |
void |
setId(int id) |
public StaticTiledMapTile(TextureRegion textureRegion)
textureRegion - public StaticTiledMapTile(StaticTiledMapTile copy)
copy - public int getId()
getId in interface TiledMapTilepublic void setId(int id)
setId in interface TiledMapTilepublic TiledMapTile.BlendMode getBlendMode()
getBlendMode in interface TiledMapTileTiledMapTile.BlendMode to use for rendering the tilepublic void setBlendMode(TiledMapTile.BlendMode blendMode)
TiledMapTileTiledMapTile.BlendMode to use for rendering the tilesetBlendMode in interface TiledMapTileblendMode - the blend mode to use for rendering the tilepublic MapProperties getProperties()
getProperties in interface TiledMapTilepublic TextureRegion getTextureRegion()
getTextureRegion in interface TiledMapTile