Tiled::Map
Constructors
Class methods
Instance methods
array_group
Sourcearray_imagelayer
Sourcearray_layer
Sourcearray_objectgroup
Sourcebackgroundcolor
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
compressionlevel
Sourceheight
Sourcehexsidelength
Sourceinfinite
Sourcenextlayerid
Sourcenextobjectid
Sourceorientation
Sourceparallaxoriginx
Sourceparallaxoriginy
Sourceproperties
Sourceproperties=(properties : Properties | Nil)
Sourcerenderorder
Sourcestaggeraxis
Sourcestaggerindex
Sourcetiledversion
Sourcetileheight
Sourcetilewidth
Sourceversion
Sourcewidth
Source