WangSet class

Below is Tiled's documentation about how this structure is represented on XML files:

<wangset>

Defines a list of corner colors and a list of edge colors, and any number of Wang tiles using these colors.

name: The name of the Wang set. tile: The tile ID of the tile representing this Wang set. Can contain at most one: <properties>

Can contain up to 255: <wangcolor> (since Tiled 1.5)

Can contain any number: <wangtile>

Constructors

WangSet({required String name, required int tile, List<WangColor> cornerColors = const [], List<WangColor> edgeColors = const [], List<WangTile> wangTiles = const [], CustomProperties properties = CustomProperties.empty})
WangSet.parse(Parser parser)
factory

Properties

cornerColors List<WangColor>
getter/setter pair
edgeColors List<WangColor>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
properties CustomProperties
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tile int
getter/setter pair
wangTiles List<WangTile>
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited