mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
jsdoc fixes and beta 23 prep
This commit is contained in:
parent
6c46427ba7
commit
19dfdeac14
4 changed files with 13 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "phaser",
|
||||
"version": "3.60.0-beta.22",
|
||||
"version": "3.60.0-beta.23",
|
||||
"release": "Miku",
|
||||
"description": "A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers.",
|
||||
"author": "Richard Davey <rich@photonstorm.com> (https://www.photonstorm.com)",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* The Animation Update Event.
|
||||
*
|
||||
* This event is dispatched by a Sprite when an animation playing on it updates. This happens when the animation changes frame.
|
||||
* An animation will change frame based on the frme rate and other factors like `timeScale` and `delay`. It can also change
|
||||
* An animation will change frame based on the frame rate and other factors like `timeScale` and `delay`. It can also change
|
||||
* frame when stopped or restarted.
|
||||
*
|
||||
* Listen for it on the Sprite using `sprite.on('animationupdate', listener)`
|
||||
|
|
|
@ -20,7 +20,7 @@ var CONST = {
|
|||
* @type {string}
|
||||
* @since 3.0.0
|
||||
*/
|
||||
VERSION: '3.60.0-beta.22',
|
||||
VERSION: '3.60.0-beta.23',
|
||||
|
||||
BlendModes: require('./renderer/BlendModes'),
|
||||
|
||||
|
|
|
@ -451,6 +451,16 @@ var Timeline = new Class({
|
|||
/**
|
||||
* Adds one or more events to this Timeline.
|
||||
*
|
||||
* You can pass in a single configuration object, or an array of them:
|
||||
*
|
||||
* ```js
|
||||
* const timeline = this.add.timeline({
|
||||
* at: 1000,
|
||||
* run: () => {
|
||||
* this.add.sprite(400, 300, 'logo');
|
||||
* }
|
||||
* });
|
||||
* ```
|
||||
*
|
||||
* @method Phaser.Time.Timeline#add
|
||||
* @since 3.60.0
|
||||
|
|
Loading…
Add table
Reference in a new issue