public class TiledWangTile extends Object
A TiledWangTile represents a Wang tile. It corresponds to a <wangtile> tag in a Tiled XML file.
Modifier and Type | Method and Description |
---|---|
TiledWangColor |
getBottomColor()
Returns this Wang tile's color on its bottom edge, or null if there is
none.
|
TiledWangColor |
getBottomLeftColor()
Returns this Wang tile's color at its bottom left corner, or null if
there is none.
|
TiledWangColor |
getBottomRightColor()
Returns this Wang tile's color at its bottom right corner, or null if
there is none.
|
TiledWangColor |
getLeftColor()
Returns this Wang tile's color on its left edge, or null if there is
none.
|
TiledWangColor |
getRightColor()
Returns this Wang tile's color on its right edge, or null if there is
none.
|
TiledTile |
getTile()
Returns the tile from this Wang tile's Wang set's tileset to which this
Wang tile refers.
|
TiledWangColor |
getTopColor()
Returns this Wang tile's color on its top edge, or null if there is none.
|
TiledWangColor |
getTopLeftColor()
Returns this Wang tile's color at its top left corner, or null if there
is none.
|
TiledWangColor |
getTopRightColor()
Returns this Wang tile's color at its top right corner, or null if there
is none.
|
public final TiledTile getTile()
public final TiledWangColor getTopColor()
public final TiledWangColor getTopRightColor()
public final TiledWangColor getRightColor()
public final TiledWangColor getBottomRightColor()
public final TiledWangColor getBottomColor()
public final TiledWangColor getBottomLeftColor()
public final TiledWangColor getLeftColor()
public final TiledWangColor getTopLeftColor()
Copyright © 2020. All rights reserved.