Tiled::Tileset::WangSets::WangSet
Inherits Struct / Value / Object
Constructors
new(name : String, tile : UInt32)
SourceClass methods
parse_from_node(node : XML::Node)
SourceInstance methods
array_wangcolor
Sourcearray_wangcolor=(array_wangcolor : Array(WangColor))
Sourcearray_wangtile
Sourcearray_wangtile=(array_wangtile : Array(WangTile))
Sourceclass
Returns the runtime Class of an object.
1.class # => Int32
"hello".class # => String
Compare it with typeof, which returns the compile-time type of an object:
random_value = rand # => 0.627423
value = random_value < 0.5 ? 1 : "hello"
value # => "hello"
value.class # => String
typeof(value) # => Int32 | String
class=(class __arg0 : String)
Sourcename
Sourcename=(name : String)
Sourceproperties
Sourceproperties=(properties : Properties | Nil)
Sourcetile
Sourcetile=(tile : UInt32)
Source