config

package
v0.0.0-...-9aa04a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(r io.Reader, into interface{}) error

Types

type Animation

type Animation struct {
	Spritesheet *Spritesheet              `json:"spritesheet"`
	Animations  map[string][]*SpriteFrame `json:"animations"`
}

type SpriteFrame

type SpriteFrame struct {
	SpritesheetX int `json:"spritesheet_x"`
	SpritesheetY int `json:"spritesheet_y"`
}

type Spritesheet

type Spritesheet struct {
	ID           string `json:"id"`
	SpriteHeight int    `json:"sprite_height"`
	SpriteWidth  int    `json:"sprite_width"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL