struct

Tmxparser::Map

Inherits Struct < Value < Object

Constructors

load_from_file(path : String) : Map
Source
new(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))
Source

Instance methods

backgroundcolor
Source
backgroundcolor=(backgroundcolor : String | Nil)
Source
compressionlevel
Source
compressionlevel=(compressionlevel : Int32 | Nil)
Source
height
Source
height=(height : Int32)
Source
hexsidelength
Source
hexsidelength=(hexsidelength : Int32 | Nil)
Source
infinite
Source
infinite=(infinite : Bool)
Source
layers
Source
layers=(layers : Array(Layer))
Source
map_class
Source
map_class=(map_class : String | Nil)
Source
nextlayerid
Source
nextlayerid=(nextlayerid : Int32 | Nil)
Source
nextobjectid
Source
nextobjectid=(nextobjectid : Int32 | Nil)
Source
orientation
Source
orientation=(orientation : Orientation)
Source
parallaxoriginx
Source
parallaxoriginx=(parallaxoriginx : Int32)
Source
parallaxoriginy
Source
parallaxoriginy=(parallaxoriginy : Int32)
Source
properties
Source
properties=(properties : Array(Hash(String, String)))
Source
renderorder
Source
renderorder=(renderorder : RenderOrder)
Source
staggeraxis
Source
staggeraxis=(staggeraxis : StaggerAxis | Nil)
Source
staggerindex
Source
staggerindex=(staggerindex : StaggerIndex | Nil)
Source
tiledversion
Source
tiledversion=(tiledversion : String | Nil)
Source
tileheight
Source
tileheight=(tileheight : Int32)
Source
tilesets
Source
tilesets=(tilesets : Array(Tileset))
Source
tilewidth
Source
tilewidth=(tilewidth : Int32)
Source
version
Source
version=(version : String)
Source
width
Source
width=(width : Int32)
Source