public interface TiledParserNotifier
TiledParserListener
sModifier and Type | Method and Description |
---|---|
void |
addListener(TiledParserListener tiledParserListener)
Adds a listener to be notified of parsing results
|
void |
notifyBeginParsing(java.lang.String orientation,
com.badlogic.gdx.graphics.Color backgroundColor,
int width,
int height,
int tileWidth,
int tileHeight)
Notify all
TiledParserListener s that parsing has begun |
void |
notifyMapPropertyParsed(java.lang.String propertyName,
java.lang.String value) |
void |
notifyObjectGroupParsed(TiledObjectGroup parsedObjectGroup) |
void |
notifyTileLayerParsed(TileLayer parsedLayer) |
void |
notifyTilePropertyParsed(Tile tile) |
void |
notifyTilesetParsed(Tileset parsedTileset) |
void |
removeListener(TiledParserListener tiledParserListener)
Removes a listener from being notified of parsing results
|
void addListener(TiledParserListener tiledParserListener)
tiledParserListener
- The TiledParserListener
to be addedvoid removeListener(TiledParserListener tiledParserListener)
tiledParserListener
- The TiledParserListener
to be removedvoid notifyBeginParsing(java.lang.String orientation, com.badlogic.gdx.graphics.Color backgroundColor, int width, int height, int tileWidth, int tileHeight)
TiledParserListener
s that parsing has begunorientation
- The map orientationbackgroundColor
- The map background colorwidth
- height
- tileWidth
- tileHeight
- void notifyMapPropertyParsed(java.lang.String propertyName, java.lang.String value)
void notifyTilePropertyParsed(Tile tile)
void notifyTilesetParsed(Tileset parsedTileset)
void notifyTileLayerParsed(TileLayer parsedLayer)
void notifyObjectGroupParsed(TiledObjectGroup parsedObjectGroup)