public interface ITile extends ICustomPropertyProvider
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object anObject)
Tests for equality between two tiles.
|
int |
getGridId()
Gets the grid id.
|
java.awt.image.BufferedImage |
getImage() |
java.awt.Point |
getTileCoordinate()
Gets the tile coordinate.
|
ITilesetEntry |
getTilesetEntry() |
int |
hashCode()
Computes a hash code for this tile.
|
boolean |
isFlipped() |
boolean |
isFlippedDiagonally() |
boolean |
isFlippedHorizontally() |
boolean |
isFlippedVertically() |
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
int getGridId()
java.awt.image.BufferedImage getImage()
java.awt.Point getTileCoordinate()
ITilesetEntry getTilesetEntry()
boolean isFlippedHorizontally()
boolean isFlippedVertically()
boolean isFlippedDiagonally()
boolean isFlipped()
boolean equals(java.lang.Object anObject)
equals
in class java.lang.Object
anObject
- The tile to test equality forfalse
if anObject
is not a tileint hashCode()
hashCode
in class java.lang.Object