Documentation
¶
Overview ¶
Package sprite handle the Sprite component
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TYPE = reflect.TypeOf(Sprite{})
TYPE is the reflect.Type of the Sprite
Functions ¶
This section is empty.
Types ¶
type Sprite ¶
type Sprite struct { Sheet string // Sheet is the Sprite sheet Name string // Name is the Sprite name Rotation float32 // Rotation is the Sprite rotation Scale float32 // Scale is the Sprite scale FlipX bool // FlipX indicates if the Sprite is flipped in the X-Assis FlipY bool // FlipY indicates if the Sprite is flipped in the Y-Assis }
Sprite is a graphic image that will drawn on the screen
Click to show internal directories.
Click to hide internal directories.