UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

9 lines (8 loc) 351 B
/** * @typedef {object} Phaser.Types.GameObjects.SpriteGPULayer.SetAnimation * @since 4.0.0 * * @property {string} name - The name of the animation. * @property {number[]|string[]} frames - An array containing the frames of the animation. * @property {number} duration - The duration of the animation, in milliseconds. Must be non-negative. */