Class TilesetEntry
java.lang.Object
de.gurkenlabs.litiengine.environment.tilemap.xml.CustomPropertyProvider
de.gurkenlabs.litiengine.environment.tilemap.xml.TilesetEntry
- All Implemented Interfaces:
ICustomPropertyProvider,ITilesetEntry
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newTilesetEntry.TilesetEntry(Tileset tileset, int id) Instantiates a newTilesetEntryfrom the specified tileset. -
Method Summary
Methods inherited from class de.gurkenlabs.litiengine.environment.tilemap.xml.CustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getCharValue, getCharValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getMapObjectId, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, hasCustomProperty, removeProperty, setProperties, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ICustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getCharValue, getCharValue, getColorValue, getColorValue, getCommaSeparatedStringValues, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFileValue, getFileValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getMapObjectId, getProperties, getProperty, getShortValue, getShortValue, getStringValue, getStringValue, hasCustomProperty, removeProperty, setProperties, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue
-
Constructor Details
-
TilesetEntry
public TilesetEntry()Instantiates a newTilesetEntry. -
TilesetEntry
Instantiates a newTilesetEntryfrom the specified tileset.- Parameters:
tileset- The tileset that contains this entry.id- The identifier of this instance.
-
-
Method Details
-
getId
public int getId()- Specified by:
getIdin interfaceITilesetEntry
-
getAnimation
- Specified by:
getAnimationin interfaceITilesetEntry
-
getImage
Description copied from interface:ITilesetEntryGets the current image for this tileset entry.- Specified by:
getImagein interfaceITilesetEntry- Returns:
- The current image for this tileset entry, accounting for animation.
-
getBasicImage
Description copied from interface:ITilesetEntryGets the "standard" image for this tileset entry, without applying any animations.- Specified by:
getBasicImagein interfaceITilesetEntry- Returns:
- The standard image for this tileset entry
-
getTileset
Description copied from interface:ITilesetEntryGets the tileset that this entry belongs to.- Specified by:
getTilesetin interfaceITilesetEntry- Returns:
- The tileset for this entry
-
getType
- Specified by:
getTypein interfaceITilesetEntry
-
getCollisionInfo
- Specified by:
getCollisionInfoin interfaceITilesetEntry
-