struct

Tmxparser::Tileset

Inherits Struct < Value < Object

Constructors

new(firstgid : Int32, source : Nil | String, name : Nil | String, tileset_class : Nil | String, tilewidth : Int32 | Nil, tileheight : Int32 | Nil, spacing : Int32 | Nil, margin : Int32 | Nil, tilecount : Int32 | Nil, columns : Int32 | Nil, objectalignment : String = "unspecified", tilerendersize : String = "tile", fillmode : String = "stretch", images : Array(Tmxparser::Image) = [] of Image, tiles : Array(Tmxparser::Tile) = [] of Tile)
Source

Instance methods

columns
Source
columns=(columns : Int32 | Nil)
Source
fillmode
Source
fillmode=(fillmode : String)
Source
firstgid
Source
firstgid=(firstgid : Int32)
Source
images
Source
images=(images : Array(Image))
Source
margin
Source
margin=(margin : Int32 | Nil)
Source
name
Source
name=(name : String | Nil)
Source
objectalignment
Source
objectalignment=(objectalignment : String)
Source
source
Source
source=(source : String | Nil)
Source
source_rect_from_tilenumber(tile_number : Int32) : Array(Int32)
Source
spacing
Source
spacing=(spacing : Int32 | Nil)
Source
tilecount
Source
tilecount=(tilecount : Int32 | Nil)
Source
tileheight
Source
tileheight=(tileheight : Int32 | Nil)
Source
tilerendersize
Source
tilerendersize=(tilerendersize : String)
Source
tiles
Source
tiles=(tiles : Array(Tile))
Source
tileset_class
Source
tileset_class=(tileset_class : String | Nil)
Source
tilewidth
Source
tilewidth=(tilewidth : Int32 | Nil)
Source