public interface IMap extends ILayerList, java.lang.Comparable<IMap>
Modifier and Type | Method and Description |
---|---|
default int |
compareTo(IMap map) |
java.awt.Color |
getBackgroundColor() |
java.awt.geom.Rectangle2D |
getBounds() |
int |
getHeight()
Gets the map height in tiles.
|
int |
getHexSideLength()
Gets the straight edges' length for hexagonal maps.
|
java.lang.String |
getName() |
int |
getNextLayerId() |
int |
getNextObjectId() |
IMapOrientation |
getOrientation()
Gets the orientation.
|
java.net.URL |
getPath() |
RenderOrder |
getRenderOrder()
Gets the renderorder.
|
java.awt.Dimension |
getSizeInPixels()
Gets the size in pixels.
|
java.awt.Dimension |
getSizeInTiles()
Gets the sizein tiles.
|
StaggerAxis |
getStaggerAxis()
Gets the staggering axis
|
StaggerIndex |
getStaggerIndex()
Gets the tile size.
|
java.lang.String |
getTiledVersion() |
int |
getTileHeight()
Gets the vertical tile size.
|
ITilesetEntry |
getTilesetEntry(int gid) |
java.util.List<ITileset> |
getTilesets()
Gets the tilesets.
|
java.awt.Dimension |
getTileSize()
Gets the tile size.
|
int |
getTileWidth()
Gets the horizontal tile size.
|
double |
getVersion()
Gets the version.
|
int |
getWidth()
Gets the map width in tiles.
|
boolean |
isInfinite() |
void |
setName(java.lang.String name)
Sets the name.
|
addLayer, addLayer, getGroupLayers, getImageLayers, getMapObject, getMapObjectLayer, getMapObjectLayer, getMapObjectLayer, getMapObjectLayers, getMapObjects, getMapObjects, getMapObjects, getRenderLayers, getTileLayers, removeLayer, removeLayer, removeMapObject
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
java.util.List<ITileset> getTilesets()
ITilesetEntry getTilesetEntry(int gid)
IMapOrientation getOrientation()
java.net.URL getPath()
RenderOrder getRenderOrder()
java.awt.Dimension getSizeInPixels()
int getWidth()
int getHeight()
java.awt.Dimension getSizeInTiles()
java.awt.geom.Rectangle2D getBounds()
java.awt.Dimension getTileSize()
int getTileWidth()
int getTileHeight()
int getHexSideLength()
StaggerAxis getStaggerAxis()
StaggerIndex getStaggerIndex()
double getVersion()
java.lang.String getTiledVersion()
void setName(java.lang.String name)
name
- the new namejava.lang.String getName()
int getNextObjectId()
int getNextLayerId()
java.awt.Color getBackgroundColor()
boolean isInfinite()