The Timeline Resume Event.
This event is dispatched by a Tween Timeline when it is resumed from a paused state.
Listen to it from a Timeline instance using Timeline.on('resume', listener)
, i.e.:
var timeline = this.tweens.timeline({
targets: image,
ease: 'Power1',
duration: 3000,
tweens: [ { x: 600 }, { y: 500 }, { x: 100 }, { y: 100 } ]
});
timeline.on('resume', listener);
// At some point later ...
timeline.resume();
name | type | description |
---|---|---|
timeline | Phaser.Tweens.Timeline |
A reference to the Timeline instance that emitted the event. |