public class TiledWangSet extends Object
A TiledWangSet represents a Wang set defined for a tileset. It corresponds to a <wangset> tag in a Tiled XML file.
Modifier and Type | Method and Description |
---|---|
List<TiledWangColor> |
getCornerColors()
Returns an unmodifiable List view of this Wang set's corner colors.
|
List<TiledWangColor> |
getEdgeColors()
Returns an unmodifiable List view of this Wang set's edge colors.
|
String |
getName()
Returns this Wang set's name.
|
TiledTile |
getTile()
Returns the tile from this Wang set's tileset that represents this Wang
set, or null if none was specified.
|
Map<TiledTile,TiledWangTile> |
getWangTiles()
Returns an unmodifiable Map view of this Wang set's Wang tiles.
|
public final String getName()
public final TiledTile getTile()
public final List<TiledWangColor> getCornerColors()
public final List<TiledWangColor> getEdgeColors()
public final Map<TiledTile,TiledWangTile> getWangTiles()
Copyright © 2020. All rights reserved.