public class TilesetEntry extends CustomPropertyProvider implements ITilesetEntry
| Constructor and Description |
|---|
TilesetEntry() |
TilesetEntry(Tileset tileset,
int id) |
| Modifier and Type | Method and Description |
|---|---|
ITileAnimation |
getAnimation() |
java.awt.image.BufferedImage |
getBasicImage()
Gets the "standard" image for this tileset entry, without applying any animations.
|
int |
getId() |
java.awt.image.BufferedImage |
getImage()
Gets the current image for this tileset entry.
|
ITerrain[] |
getTerrain() |
protected int[] |
getTerrainIds() |
ITileset |
getTileset()
Gets the tileset that this entry belongs to.
|
java.lang.String |
getType() |
protected void |
setTerrains(ITerrain[] terrains) |
java.lang.String |
toString() |
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, getTypeOfProperty, hasCustomProperty, removeProperty, setProperties, setTypeOfProperty, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, getTypeOfProperty, hasCustomProperty, removeProperty, setProperties, setTypeOfProperty, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValuepublic TilesetEntry()
public TilesetEntry(Tileset tileset, int id)
public int getId()
getId in interface ITilesetEntrypublic ITerrain[] getTerrain()
getTerrain in interface ITilesetEntrypublic ITileAnimation getAnimation()
getAnimation in interface ITilesetEntrypublic java.awt.image.BufferedImage getImage()
ITilesetEntrygetImage in interface ITilesetEntrypublic java.awt.image.BufferedImage getBasicImage()
ITilesetEntrygetBasicImage in interface ITilesetEntrypublic ITileset getTileset()
ITilesetEntrygetTileset in interface ITilesetEntrypublic java.lang.String getType()
getType in interface ITilesetEntryprotected void setTerrains(ITerrain[] terrains)
protected int[] getTerrainIds()
public java.lang.String toString()
toString in class java.lang.Object