artifacts/maps/types.go

17 lines
379 B
Go
Raw Permalink Normal View History

2024-07-31 21:09:11 +00:00
package maps
// Content is a struct that holds info on the type of a map tile
type Content struct {
Type string `json:"type"`
Code string `json:"code"`
}
// Map is a struct that holds info on a map tile
type Map struct {
Name string `json:"name"`
Skin string `json:"skin"`
X int `json:"x"`
Y int `json:"y"`
Content Content `json:"content"`
}