Tiled::Group
Constructors
new
SourceClass methods
Instance methods
array_group
Sourcearray_imagelayer
Sourcearray_layer
Sourcearray_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
id
Sourceinitialize
Sourcename
Sourceoffsetx
Sourceoffsety
Sourceopacity
Sourceparallaxx
Sourceparallaxy
Sourceproperties
Sourceproperties=(properties : Properties | Nil)
Sourcetintcolor
Sourcevisible
Source