-
Method Summary
default int
int
Gets the map height in tiles.
int
Gets the straight edges' length for hexagonal maps.
int
int
Gets the coordinates of the parallax origin in pixels.
int
Gets the vertical tile size.
int
Gets the horizontal tile size.
double
int
Gets the map width in tiles.
boolean
void
Methods 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
Methods inherited from interface de.gurkenlabs.litiengine.environment.tilemap.ILayerList
addLayer, addLayer, getGroupLayers, getImageLayers, getMapObject, getMapObjectLayer, getMapObjectLayer, getMapObjectLayer, getMapObjectLayers, getMapObjects, getMapObjects, getMapObjects, getRenderLayers, getTileLayers, removeLayer, removeLayer, removeMapObject
-
Method Details
-
getTilesets
Gets the tilesets.
- Returns:
- the tilesets
-
-
getOrientation
Gets the orientation.
- Returns:
- the orientation
-
-
getRenderOrder
Gets the renderorder.
- Returns:
- the renderorder
-
getSizeInPixels
Gets the size in pixels.
- Returns:
- the size in pixels
-
getWidth
int getWidth()
Gets the map width in tiles.
- Returns:
- the width in tiles
-
getHeight
int getHeight()
Gets the map height in tiles.
- Returns:
- the height in tiles
-
getSizeInTiles
Gets the sizein tiles.
- Returns:
- the sizein tiles
-
-
getTileSize
Gets the tile size.
- Returns:
- the tile size
-
getParallaxOrigin
Gets the coordinates of the parallax origin in pixels.
- Returns:
- The parallax origin.
-
getTileWidth
int getTileWidth()
Gets the horizontal tile size.
- Returns:
- the horizontal tile size
-
getTileHeight
int getTileHeight()
Gets the vertical tile size.
- Returns:
- the vertical tile size
-
getHexSideLength
int getHexSideLength()
Gets the straight edges' length for hexagonal maps.
- Returns:
- the hex side length
-
getStaggerAxis
Gets the staggering axis
- Returns:
- the tile size
-
getStaggerIndex
Gets the tile size.
- Returns:
- the tile size
-
getVersion
double getVersion()
Gets the version.
- Returns:
- the version
-
-
-
setName
Sets the name.
- Parameters:
name - the new name
-
getNextObjectId
int getNextObjectId()
-
getNextLayerId
int getNextLayerId()
-
getBackgroundColor
Color getBackgroundColor()
-
isInfinite
boolean isInfinite()
-