public interface IMap extends ICustomPropertyProvider
| Modifier and Type | Method and Description |
|---|---|
void |
addMapObjectLayer(IMapObjectLayer layer) |
void |
addMapObjectLayer(int index,
IMapObjectLayer layer) |
java.awt.Color |
getBackgroundColor() |
java.awt.geom.Rectangle2D |
getBounds() |
int |
getHeight() |
int |
getHexSideLength()
Gets the straight edges' length for hexagonal maps.
|
java.util.List<IImageLayer> |
getImageLayers()
Gets the image layers.
|
IMapObject |
getMapObject(int mapId) |
IMapObjectLayer |
getMapObjectLayer(IMapObject mapObject) |
java.util.List<IMapObjectLayer> |
getMapObjectLayers()
Gets the shape layers.
|
java.util.Collection<IMapObject> |
getMapObjects() |
java.util.Collection<IMapObject> |
getMapObjects(java.lang.String... type) |
java.lang.String |
getName() |
int |
getNextObjectId() |
MapOrientation |
getOrientation()
Gets the orientation.
|
java.lang.String |
getPath() |
java.util.List<ILayer> |
getRenderLayers() |
java.lang.String |
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.
|
java.util.List<ITileLayer> |
getTileLayers()
Gets the tile layers.
|
java.util.List<ITileset> |
getTilesets()
Gets the tilesets.
|
java.awt.Shape |
getTileShape(int tileX,
int tileY)
Gets the shape of the tile [X|Y] at its absolute location.
|
java.awt.Dimension |
getTileSize()
Gets the tile size.
|
int |
getTileWidth()
Gets the horizontal tile size.
|
double |
getVersion()
Gets the version.
|
int |
getWidth() |
boolean |
isInfinite() |
void |
removeMapObject(int mapId) |
void |
removeMapObjectLayer(IMapObjectLayer layer) |
void |
removeMapObjectLayer(int index) |
void |
setName(java.lang.String name)
Sets the name.
|
getBoolValue, getBoolValue, getByteValue, getByteValue, getColorValue, getColorValue, getDoubleValue, getDoubleValue, getEnumValue, getEnumValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getProperties, getShortValue, getShortValue, getStringValue, getStringValue, hasCustomProperty, setProperties, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValuejava.util.List<ITileset> getTilesets()
java.util.List<IImageLayer> getImageLayers()
MapOrientation getOrientation()
java.lang.String getPath()
java.lang.String getRenderOrder()
java.util.List<ILayer> getRenderLayers()
java.util.List<IMapObjectLayer> getMapObjectLayers()
void addMapObjectLayer(IMapObjectLayer layer)
void addMapObjectLayer(int index,
IMapObjectLayer layer)
void removeMapObjectLayer(IMapObjectLayer layer)
IMapObjectLayer getMapObjectLayer(IMapObject mapObject)
void removeMapObjectLayer(int index)
java.util.Collection<IMapObject> getMapObjects()
java.util.Collection<IMapObject> getMapObjects(java.lang.String... type)
IMapObject getMapObject(int mapId)
void removeMapObject(int mapId)
java.awt.Dimension getSizeInPixels()
int getWidth()
int getHeight()
java.awt.Dimension getSizeInTiles()
java.awt.geom.Rectangle2D getBounds()
java.util.List<ITileLayer> getTileLayers()
java.awt.Shape getTileShape(int tileX,
int tileY)
tileX - the horizontal grid index of the tiletileY - the vertical grid index of the tilejava.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()
java.awt.Color getBackgroundColor()
boolean isInfinite()