Skip to content

Commit ad4f0ce

Browse files
committed
Updated docs
1 parent 4d74e74 commit ad4f0ce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/gameobjects/components/AnimationState.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,12 +452,12 @@ var AnimationState = new Class({
452452
},
453453

454454
/**
455-
* Sets an animation, or an array of animations, to be played immediately after the current one completes or stops.
455+
* Sets an animation, or an array of animations, to be played in the future, after the current one completes or stops.
456456
*
457457
* The current animation must enter a 'completed' state for this to happen, i.e. finish all of its repeats, delays, etc,
458-
* or have the `stop` method called directly on it.
458+
* or have one of the `stop` methods called.
459459
*
460-
* An animation set to repeat forever will never enter a completed state.
460+
* An animation set to repeat forever will never enter a completed state unless stopped.
461461
*
462462
* You can chain a new animation at any point, including before the current one starts playing, during it, or when it ends (via its `animationcomplete` event).
463463
*

0 commit comments

Comments
 (0)