class
Eagle::Tween::Sequence
- Eagle::Tween::Sequence
- Reference
- Object
Overview
Steps that run one after another: tweens, waits and callbacks. Build one with Tween.sequence.
Defined in:
eagle/core/tween.crInstance Method Summary
-
#call(&block : -> ) : self
Adds a step that runs the block and moves on right away.
-
#finished? : Bool
True once every step has run.
-
#on_complete(&block : -> ) : self
Adds a block to run after the last step.
-
#start : self
Starts the sequence.
-
#to(duration : Number, ease : Symbol = :linear, &block : Float32 -> ) : self
Adds a tween step whose block receives eased progress.
-
#wait(seconds : Number) : self
Adds a pause.
Instance Method Detail
Adds a tween step whose block receives eased progress.