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 TiledMapTile
public void setId(int id)
setId
in interface TiledMapTile
public TiledMapTile.BlendMode getBlendMode()
getBlendMode
in interface TiledMapTile
TiledMapTile.BlendMode
to use for rendering the tilepublic void setBlendMode(TiledMapTile.BlendMode blendMode)
TiledMapTile
TiledMapTile.BlendMode
to use for rendering the tilesetBlendMode
in interface TiledMapTile
blendMode
- the blend mode to use for rendering the tilepublic MapProperties getProperties()
getProperties
in interface TiledMapTile
public TextureRegion getTextureRegion()
getTextureRegion
in interface TiledMapTile