Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Animation ¶
type Animation struct { Name string IsLooping bool Frames *[]AnimationFrame }
func NewAnimation ¶
func NewAnimation(name string, isLooping bool, frames *[]AnimationFrame) *Animation
type AnimationFrame ¶
func NewAnimationFrame ¶
func NewAnimationFrame(x, y, w, h, duration int) AnimationFrame
Click to show internal directories.
Click to hide internal directories.