public interface TiledParserNotifier
TiledParserListeners| Modifier and Type | Method and Description | 
|---|---|
void | 
addListener(TiledParserListener tiledParserListener)
Adds a listener to be notified of parsing results 
 | 
void | 
notifyBeginParsing(String orientation,
                  com.badlogic.gdx.graphics.Color backgroundColor,
                  int width,
                  int height,
                  int tileWidth,
                  int tileHeight)
Notify all  
TiledParserListeners that parsing has begun | 
void | 
notifyMapPropertyParsed(String propertyName,
                       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)
listener - The TiledParserListener to be addedvoid removeListener(TiledParserListener tiledParserListener)
listener - The TiledParserListener to be removedvoid notifyBeginParsing(String orientation, com.badlogic.gdx.graphics.Color backgroundColor, int width, int height, int tileWidth, int tileHeight)
TiledParserListeners that parsing has begunorientation - The map orientationbackgroundColor - The map background colorwidth - height - tileWidth - tileHeight - void notifyTilePropertyParsed(Tile tile)
void notifyTilesetParsed(Tileset parsedTileset)
void notifyTileLayerParsed(TileLayer parsedLayer)
void notifyObjectGroupParsed(TiledObjectGroup parsedObjectGroup)
Copyright © 2014. All rights reserved.