Tiled::Group
Inherits Struct / Value / Object
Constructors
new
SourceClass methods
parse_from_node(node : XML::Node)
SourceInstance methods
array_group
Sourcearray_group=(array_group : Array(Group))
Sourcearray_imagelayer
Sourcearray_imagelayer=(array_imagelayer : Array(ImageLayer))
Sourcearray_layer
Sourcearray_layer=(array_layer : Array(Layer))
Sourcearray_objectgroup
Sourcearray_objectgroup=(array_objectgroup : Array(ObjectGroup))
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)
Sourceid
Sourceid=(id : UInt32)
Sourceinitialize
Sourcename
Sourcename=(name : String)
Sourceoffsetx
Sourceoffsetx=(offsetx : Int32)
Sourceoffsety
Sourceoffsety=(offsety : Int32)
Sourceopacity
Sourceopacity=(opacity : Float32)
Sourceparallaxx
Sourceparallaxx=(parallaxx : Float32)
Sourceparallaxy
Sourceparallaxy=(parallaxy : Float32)
Sourceproperties
Sourceproperties=(properties : Properties | Nil)
Sourcetintcolor
Sourcetintcolor=(tintcolor : String)
Sourcevisible
Sourcevisible=(visible : Bool)
Source