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, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBoolValue, 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, setValue
public TilesetEntry()
public TilesetEntry(Tileset tileset, int id)
public int getId()
getId
in interface ITilesetEntry
public ITerrain[] getTerrain()
getTerrain
in interface ITilesetEntry
public ITileAnimation getAnimation()
getAnimation
in interface ITilesetEntry
public java.awt.image.BufferedImage getImage()
ITilesetEntry
getImage
in interface ITilesetEntry
public java.awt.image.BufferedImage getBasicImage()
ITilesetEntry
getBasicImage
in interface ITilesetEntry
public ITileset getTileset()
ITilesetEntry
getTileset
in interface ITilesetEntry
public java.lang.String getType()
getType
in interface ITilesetEntry
protected void setTerrains(ITerrain[] terrains)
protected int[] getTerrainIds()
public java.lang.String toString()
toString
in class java.lang.Object