Documentation ¶
Index ¶
Constants ¶
View Source
const ( ImageTypePNG = "png" ImageTypeJPEG = "jpeg" ImageTypeJPG = "jpg" )
View Source
const SpritesSchemaStr = `` /* 798-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func NewSpritesType ¶
Types ¶
type Sprite ¶
type Sprite struct { Start topdown.Point[int] `json:"start"` Size topdown.Size[int] `json:"size"` Tags []string `json:"tags,omitempty"` Image *ebiten.Image }
func (*Sprite) Initialize ¶
func (c *Sprite) Initialize(parent *ebiten.Image)
type SpritesType ¶
type SpritesType struct {
// contains filtered or unexported fields
}
func (*SpritesType) Name ¶
func (pt *SpritesType) Name() string
Click to show internal directories.
Click to hide internal directories.