struct

Tiled::ObjectGroup

Inherits Struct / Value / Object

Constructors

Class methods

parse_from_node(node : XML::Node)
Source

Instance methods

array_object
Source
array_object=(array_object : Array(Object))
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
color
Source
color=(color : String)
Source
draworder
Source
draworder=(draworder : String)
Source
height
Source
height=(height : UInt32)
Source
id=(id : UInt32)
Source
initialize
Source
name
Source
name=(name : String)
Source
offsetx
Source
offsetx=(offsetx : Int32)
Source
offsety
Source
offsety=(offsety : Int32)
Source
opacity
Source
opacity=(opacity : Float32)
Source
parallaxx
Source
parallaxx=(parallaxx : Float32)
Source
parallaxy
Source
parallaxy=(parallaxy : Float32)
Source
properties
Source
properties=(properties : Properties | Nil)
Source
tintcolor
Source
tintcolor=(tintcolor : String)
Source
visible
Source
visible=(visible : Bool)
Source
width
Source
width=(width : UInt32)
Source
x=(x : Int32)
Source
y=(y : Int32)
Source

Nested types