struct

Tiled::Tileset

Inherits Struct / Value / Object

Constructors

Class methods

parse_from_node(node : XML::Node)
Source

Instance methods

array_tile
Source
array_tile=(array_tile : Array(Tile))
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
columns
Source
columns=(columns : UInt32)
Source
fillmode
Source
fillmode=(fillmode : String)
Source
firstgid
Source
firstgid=(firstgid : UInt32)
Source
grid
Source
grid=(grid : Grid | Nil)
Source
image
Source
image=(image : Image | Nil)
Source
initialize
Source
margin
Source
margin=(margin : UInt32)
Source
name
Source
name=(name : String)
Source
objectalignment
Source
objectalignment=(objectalignment : String)
Source
properties
Source
properties=(properties : Properties | Nil)
Source
source
Source
source=(source : String)
Source
spacing
Source
spacing=(spacing : UInt32)
Source
tilecount
Source
tilecount=(tilecount : UInt32)
Source
tileheight
Source
tileheight=(tileheight : UInt32)
Source
tileoffset
Source
tileoffset=(tileoffset : TileOffset | Nil)
Source
tilerendersize
Source
tilerendersize=(tilerendersize : String)
Source
tilewidth
Source
tilewidth=(tilewidth : UInt32)
Source
transformations
Source
transformations=(transformations : Transformations | Nil)
Source
wangsets
Source
wangsets=(wangsets : WangSets | Nil)
Source

Nested types