Skip to content

Commit

Permalink
3.23 Release defs
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed Apr 27, 2020
1 parent e08c649 commit 08cdd09
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions types/phaser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@

declare type CameraRotateCallback = (camera: Phaser.Cameras.Scene2D.Camera, progress: number, angle: number)=>void;

/**
* This event is fired when the Rotate effect begins to run on a camera.
*/
declare const CameraRotateStartEvent: any;

/**
* This event is fired when the Rotate effect completes.
*/
declare const CameraRotateCompleteEvent: any;

declare type DataEachCallback = (parent: any, key: string, value: any, ...args: any[])=>void;

declare type ContentLoadedCallback = ()=>void;
Expand Down Expand Up @@ -3756,6 +3746,20 @@ declare namespace Phaser {
*/
const PRE_RENDER: any;

/**
* The Camera Rotate Complete Event.
*
* This event is dispatched by a Camera instance when the Rotate Effect completes.
*/
const ROTATE_COMPLETE: any;

/**
* The Camera Rotate Start Event.
*
* This event is dispatched by a Camera instance when the Rotate Effect starts.
*/
const ROTATE_START: any;

/**
* The Camera Shake Complete Event.
*
Expand Down

0 comments on commit 08cdd09

Please sign in to comment.