From 08cdd09e1fb96644db64be8496d2f26fcdb4d816 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Mon, 27 Apr 2020 16:41:28 +0100 Subject: [PATCH] 3.23 Release defs --- types/phaser.d.ts | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/types/phaser.d.ts b/types/phaser.d.ts index 32e727c5b8..7260621bbf 100644 --- a/types/phaser.d.ts +++ b/types/phaser.d.ts @@ -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; @@ -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. *