Tmxparser::Map
Inherits Struct < Value < Object
Constructors
load_from_file(path : String) : Map
Sourcenew(version : String, tiledversion : Nil | String, map_class : Nil | String, orientation : Tmxparser::Orientation, renderorder : Tmxparser::RenderOrder, compressionlevel : Int32 | Nil, width : Int32, height : Int32, tilewidth : Int32, tileheight : Int32, hexsidelength : Int32 | Nil, staggeraxis : Tmxparser::StaggerAxis | Nil, staggerindex : Tmxparser::StaggerIndex | Nil, parallaxoriginx : Int32, parallaxoriginy : Int32, backgroundcolor : Nil | String, nextlayerid : Int32 | Nil, nextobjectid : Int32 | Nil, infinite : Bool, properties : Array(Hash(String, String)), tilesets : Array(Tmxparser::Tileset), layers : Array(Tmxparser::Layer))
SourceInstance methods
backgroundcolor
Sourcebackgroundcolor=(backgroundcolor : String | Nil)
Sourcecompressionlevel
Sourcecompressionlevel=(compressionlevel : Int32 | Nil)
Sourceheight
Sourceheight=(height : Int32)
Sourcehexsidelength
Sourcehexsidelength=(hexsidelength : Int32 | Nil)
Sourceinfinite
Sourceinfinite=(infinite : Bool)
Sourcelayers
Sourcelayers=(layers : Array(Layer))
Sourcemap_class
Sourcemap_class=(map_class : String | Nil)
Sourcenextlayerid
Sourcenextlayerid=(nextlayerid : Int32 | Nil)
Sourcenextobjectid
Sourcenextobjectid=(nextobjectid : Int32 | Nil)
Sourceorientation
Sourceorientation=(orientation : Orientation)
Sourceparallaxoriginx
Sourceparallaxoriginx=(parallaxoriginx : Int32)
Sourceparallaxoriginy
Sourceparallaxoriginy=(parallaxoriginy : Int32)
Sourceproperties
Sourceproperties=(properties : Array(Hash(String, String)))
Sourcerenderorder
Sourcerenderorder=(renderorder : RenderOrder)
Sourcestaggeraxis
Sourcestaggeraxis=(staggeraxis : StaggerAxis | Nil)
Sourcestaggerindex
Sourcestaggerindex=(staggerindex : StaggerIndex | Nil)
Sourcetiledversion
Sourcetiledversion=(tiledversion : String | Nil)
Sourcetileheight
Sourcetileheight=(tileheight : Int32)
Sourcetilesets
Sourcetilesets=(tilesets : Array(Tileset))
Sourcetilewidth
Sourcetilewidth=(tilewidth : Int32)
Sourceversion
Sourceversion=(version : String)
Sourcewidth
Sourcewidth=(width : Int32)
Source