Documentation ¶
Index ¶
Constants ¶
View Source
const MODE_DRAW = "draw"
View Source
const MODE_ERASE = "erase"
Variables ¶
This section is empty.
Functions ¶
func SetupPR2LevelListRoutes ¶
Types ¶
type Layer ¶
type Layer struct { Opacity int `json:"opacity"` 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"` Depth int `json:"depth"` DrawOrder string `json:"draworder"` Lines []Line `json:"lines"` Scale float64 `json:"scale"` }
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"` Hash string `json:"hash"` }
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"` }
Click to show internal directories.
Click to hide internal directories.