Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sprite ¶
type Sprite struct { Image *image.Image `json:"-"` Name string `json:"name"` X int `json:"x"` Y int `json:"y"` Width int `json:"width,omitempty"` Height int `json:"height,omitempty"` Widths [3]int `json:"widths,omitempty"` Heights [3]int `json:"heights,omitempty"` Count int `json:"count"` Grid int `json:"grid"` Gap int `json:"gap,omitempty"` }
Sprite is the base struct for any sprite
Click to show internal directories.
Click to hide internal directories.