Tiled::Tileset
Inherits Struct / Value / Object
Constructors
new
SourceClass methods
parse_from_node(node : XML::Node)
SourceInstance methods
array_tile
Sourcearray_tile=(array_tile : Array(Tile))
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)
Sourcecolumns
Sourcecolumns=(columns : UInt32)
Sourcefillmode
Sourcefillmode=(fillmode : String)
Sourcefirstgid
Sourcefirstgid=(firstgid : UInt32)
Sourcegrid
Sourcegrid=(grid : Grid | Nil)
Sourceimage
Sourceimage=(image : Image | Nil)
Sourceinitialize
Sourcemargin
Sourcemargin=(margin : UInt32)
Sourcename
Sourcename=(name : String)
Sourceobjectalignment
Sourceobjectalignment=(objectalignment : String)
Sourceproperties
Sourceproperties=(properties : Properties | Nil)
Sourcesource
Sourcesource=(source : String)
Sourcespacing
Sourcespacing=(spacing : UInt32)
Sourcetilecount
Sourcetilecount=(tilecount : UInt32)
Sourcetileheight
Sourcetileheight=(tileheight : UInt32)
Sourcetileoffset
Sourcetileoffset=(tileoffset : TileOffset | Nil)
Sourcetilerendersize
Sourcetilerendersize=(tilerendersize : String)
Sourcetilewidth
Sourcetilewidth=(tilewidth : UInt32)
Sourcetransformations
Sourcetransformations=(transformations : Transformations | Nil)
Sourcewangsets
Sourcewangsets=(wangsets : WangSets | Nil)
Source