Phaser API Documentation

  Version: 
<protected> preUpdate(time, delta)

Description:

Internal update handler that advances this PathFollower along the path.

Called automatically by the Scene step, should not typically be called directly.

Parameters:

name type description
time number

The current timestamp as generated by the Request Animation Frame or SetTimeout.

delta number

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

Since: 3.0.0