phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
12 lines (11 loc) • 647 B
JavaScript
/**
* @callback Phaser.Types.Tweens.TweenOnUpdateCallback
* @since 3.18.0
*
* @param {Phaser.Tweens.Tween} tween - A reference to the Tween.
* @param {any} target - The current target of the Tween. If this Tween has multiple targets, this will be a reference to just the single one being updated prior to this callback.
* @param {string} key - The property that is being updated on the target.
* @param {number} current - The current value of the property being set on the target.
* @param {number} previous - The previous value of the property being set on the target.
* @param {...any} param - Any value passed in `onUpdateParams`.
*/