Documentation ¶
Index ¶
- func Move(e engi.Entity, from, to f32.Vec2) *proxyAnimator
- func MoveX(e engi.Entity, from, to float32) *proxyAnimator
- func MoveY(e engi.Entity, from, to float32) *proxyAnimator
- func OfColor(target *gfx.Color, from, to gfx.Color) *proxyAnimator
- func OfFloat(target *float32, from, to float32) *proxyAnimator
- func OfVec2(target *f32.Vec2, from, to f32.Vec2) *proxyAnimator
- func Rotate(e engi.Entity, from, to float32) *proxyAnimator
- func Scale(e engi.Entity, from, to f32.Vec2) *proxyAnimator
- func ScaleX(e engi.Entity, from, to float32) *proxyAnimator
- func ScaleY(e engi.Entity, from, to float32) *proxyAnimator
- func SetDefaultAnimationSystem(as *AnimationSystem)
- func Tint(e engi.Entity, from, to gfx.Color) *proxyAnimator
- type AnimationSystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnimationSystem ¶
type AnimationSystem struct { *frame.SpriteEngine *ween.TweenEngine // contains filtered or unexported fields }
func NewAnimationSystem ¶
func NewAnimationSystem() *AnimationSystem
func (*AnimationSystem) RequireTable ¶
func (as *AnimationSystem) RequireTable(tables []interface{})
func (*AnimationSystem) Update ¶
func (as *AnimationSystem) Update(dt float32)
Click to show internal directories.
Click to hide internal directories.