Files
aego/sdk/tween.go
T

24 lines
404 B
Go

package sdk
import (
"aego/core/curve"
"aego/modules/tween"
)
type (
Tweens = tween.Service
TweenHandle = tween.Handle
TweenOptions = tween.Options
TimerOptions = tween.TimerOptions
Easing = curve.Easing
Curve = curve.Curve
CurveKey = curve.Key
)
func TweensOf(ctx *Context) *Tweens {
if ctx == nil || ctx.World == nil {
return nil
}
return tween.Of(ctx.World)
}