Gamalto

Fork me on GitHub

Object Sequence Overview

Gamalto. Sequence

new Gamalto.Sequence()

Creates a new events sequence.

Extends
Example
var seq = new Gamalto.Sequence();

Members

playing :boolean

inherited readonly

Whether the animation is playing.

Inherited From

progress :number

inherited readonly

Position in the duration array.

Inherited From

tag :object

inherited

Utility property to exchange data between objects.

Inherited From

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
Returns
  • Deep copy of the object.

reset()

inherited

Resets the animation.

Inherited From

toString() string

inherited abstract

Converts the object into a string.

Inherited From
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.

Documentation generated by JSDoc 3.3.2 on Sun Sep 13 2015 20:13:31 GMT+0200 (CEST)