new Gamalto.Sequence() Creates a new events sequence. Extends Gamalto.Animator Example var seq = new Gamalto.Sequence(); Members playing :boolean inherited readonly Whether the animation is playing. Inherited From Gamalto.Animator#playing progress :number inherited readonly Position in the duration array. Inherited From Gamalto.Animator#progress tag :object inherited Utility property to exchange data between objects. Inherited From Gamalto.Object#tag Methods add(inst, duration) Gamalto.Sequence Adds a new event to the sequence. Parameters Name Type Description inst ISequence Instance of a ISequence object. duration number Event duration. Returns Current object for chaining. clone() Gamalto.Animator inherited Creates a clone of the current object. Inherited From Gamalto.Animator#clone Returns Deep copy of the object. reset() inherited Resets the animation. Inherited From Gamalto.Animator#reset toString() string inherited abstract Converts the object into a string. Inherited From Gamalto.Object#toString Returns string update(timer) number Updates the sequence state. Parameters Name Type Description timer Gamalto.ITiming Timer object from which the elpased time will be read. Returns Current playing event.