sprites

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name string) *ganim8.Sprite

func LoadSprites

func LoadSprites(xmlPath string, imgPath string, opts LoadOpts)

Types

type LoadOpts

type LoadOpts struct {
	PanelOpts map[string]PanelOpts
}

type PanelOpts

type PanelOpts struct {
	Border int
	Center int
}

Jump to

Keyboard shortcuts

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