struct

Tiled::Tileset::WangSets::WangSet

Inherits Struct / Value / Object

Constructors

new(name : String, tile : UInt32)
Source

Class methods

parse_from_node(node : XML::Node)
Source

Instance methods

array_wangcolor
Source
array_wangcolor=(array_wangcolor : Array(WangColor))
Source
array_wangtile
Source
array_wangtile=(array_wangtile : Array(WangTile))
Source
class

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
Source
class=(class __arg0 : String)
Source
name
Source
name=(name : String)
Source
properties
Source
properties=(properties : Properties | Nil)
Source
tile
Source
tile=(tile : UInt32)
Source