-
Method Summary
int
int
Gets both the X and the Y offset of the layer.
int
Gets the horizontal offset of the layer.
int
Gets the vertical offset of the layer.
float
int
boolean
void
void
void
void
void
void
Methods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ICustomPropertyProvider
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getCommaSeparatedStringValues, 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
-
Method Details
-
-
getName
Gets the name.
- Returns:
- the name
-
getOpacity
float getOpacity()
Gets the opacity.
- Returns:
- the opacity
-
getOffset
Gets both the X and the Y offset of the layer.
- Returns:
- a
Point representing the offset
-
getOffsetX
int getOffsetX()
Gets the horizontal offset of the layer.
- Returns:
- the x offset
-
getOffsetY
int getOffsetY()
Gets the vertical offset of the layer.
- Returns:
- the y offset
-
getSizeInTiles
Gets the size in tiles.
- Returns:
- the size in tiles
-
-
isVisible
boolean isVisible()
Checks if is visible.
- Returns:
- true, if is visible
-
setVisible
void setVisible(boolean visible)
-
-
-
-
getHeight
int getHeight()
-
setWidth
void setWidth(int newWidth)
-
setHeight
void setHeight(int newWidth)
-
setOpacity
void setOpacity(float opacity)
-