Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LineProperties ¶
type ObjectGroup ¶
type PR2Level ¶
type PR2Level struct { Items string `json:"items"` Blocks []string `json:"blocks"` ArtLayers [][]string `json:"artlayers"` Note string `json:"note"` Gravity string `json:"gravity"` Song string `json:"song"` LevelId string `json:"levelid"` Data string `json:"data"` FileVersion string `json:"fileversion"` FadeColor string `json:"fadecolor"` BG string `json:"bg"` Title string `json:"title"` }
type PR2LevelSections ¶
type PR4Level ¶
type PR4Level struct { BackgroundColor string `json:"backgroundcolor"` Width int `json:"width"` Height int `json:"height"` Infinite bool `json:"infinite"` Layers []Layer `json:"layers"` Orientation string `json:"orientation"` TileHeight int `json:"tileheight"` TileWidth int `json:"tilewidth"` TiledVersion string `json:"tiledversion"` Properties map[string]interface{} `json:"properties"` Tilesets []Tileset `json:"tilesets"` }
type TileLayer ¶
type TileLayer struct { Opacity int `json:"opacity"` StartX int `json:"startx"` StartY int `json:"starty"` Type string `json:"type"` Name string `json:"name"` Visible bool `json:"visible"` OffsetX int `json:"offsetx"` OffsetY int `json:"offsety"` Width int `json:"width"` Height int `json:"height"` X int `json:"x"` Y int `json:"y"` Chunks []Chunk `json:"chunks"` }
Click to show internal directories.
Click to hide internal directories.