Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sprite ¶
type Sprite struct { Name string // sprite name without extension Offset image.Point // offset in atlas Size size // image size // contains filtered or unexported fields }
Sprite contains image and placement data for sprites it also has exported fields for data serialisation
func ReadSprites ¶
ReadSprites returns all spritees found in the provided directory
Click to show internal directories.
Click to hide internal directories.