Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lvl ¶
type Lvl struct { ID ids.Lvl `json:"id"` Name string `json:"name"` geo.Dim Tset ids.Tset `json:"tset"` Grid ids.Grid `json:"grid"` }
func (*Lvl) MarshalBinary ¶
func (*Lvl) UnmarshalBinary ¶
type Sys ¶
type Sys struct { Tset TsetTable Lvl LvlTable Grid GridTable // contains filtered or unexported fields }
Sys is the tileset and level system.
type TileInfo ¶
type TileInfo struct { Tile Tile `json:"tile"` // Allow is a bitmask that indicates what ability is required to traverse to or over this // tile. It should deprecate the block field. Allow Ability `json:"allow,omitempty"` Color uint32 `json:"color"` Name string `json:"name"` Block bool `json:"block,omitempty"` Group string `json:"group,omitempty"` Asset ids.Topic `json:"asset,omitempty"` }
type Tset ¶
type Tset struct { ID ids.Tset `json:"id"` Name string `json:"name"` Infos []TileInfo `json:"infos"` }
func (*Tset) MarshalBinary ¶
func (*Tset) UnmarshalBinary ¶
Click to show internal directories.
Click to hide internal directories.