UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.

22 lines (20 loc) 850 B
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2019 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * The Animation Repeat Event. * * This event is dispatched when a currently playing animation repeats. * * The event is dispatched directly from the Animation object itself. Which means that listeners * bound to this event will be invoked every time the Animation repeats, for every Game Object that may have it. * * @event Phaser.Animations.Events#ANIMATION_REPEAT * @since 3.16.1 * * @param {Phaser.Animations.Animation} animation - A reference to the Animation that repeated. * @param {Phaser.Animations.AnimationFrame} frame - The current Animation Frame that the Animation was on when it repeated. */ module.exports = 'repeat';