Action
type Action
Action runs tweens, timers and other actions one after another or together; yield a waits until it ends.
On this page
Action.Done method
func (Action) Done() bool
Reports whether the action ended, was stopped or is nil.
Action.Running method
func (Action) Running() bool
Is the opposite of Done.
Action.Stop method
func (Action) Stop()
Stops every unfinished step; the properties keep their current values.
Action.Then method
func (Action) Then(tween Handle<aego/tween.Tween>) Handle<aego/action.Action>
Adds a tween created in this frame; it waits for its turn.
Action.ThenAction method
func (Action) ThenAction(action Handle<aego/action.Action>) Handle<aego/action.Action>
Adds another action that has not started.
Action.ThenTimer method
func (Action) ThenTimer(timer Handle<aego/timer.Timer>) Handle<aego/action.Action>
Adds a timer created in this frame; the step ends when the timer ends.
Action.Wait method
func (Action) Wait(seconds float) Handle<aego/action.Action>
Adds a pause in game seconds.
Action.Completed signal
signal Completed(finished bool)
Runs once when the action ends; finished is false after Stop or when the node of its script died.