Phaser API Documentation

  Version: 
update(time, delta)

Description:

The internal update loop for the AnimationState Component.

This is called automatically by the Sprite.preUpdate method.

Parameters:

name type description
time number

The current timestamp.

delta number

The delta time, in ms, elapsed since the last frame.

Since: 3.0.0