phaser
Version:
A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.
11 lines (10 loc) • 571 B
JavaScript
/**
* @typedef {object} Phaser.Types.Animations.GenerateFrameNumbers
* @since 3.0.0
*
* @property {number} [start=0] - The starting frame of the animation.
* @property {number} [end=-1] - The ending frame of the animation.
* @property {(boolean|number)} [first=false] - A frame to put at the beginning of the animation, before `start` or `outputArray` or `frames`.
* @property {Phaser.Types.Animations.AnimationFrame[]} [outputArray=[]] - An array to concatenate the output onto.
* @property {(boolean|number[])} [frames=false] - A custom sequence of frames.
*/