mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 01:38:23 +00:00
Minor phaser.d.ts the Timer callback methods have optional callbackContexts
This commit is contained in:
parent
b175389c72
commit
d6b597286b
1 changed files with 3 additions and 3 deletions
6
typescript/phaser.d.ts
vendored
6
typescript/phaser.d.ts
vendored
|
@ -4560,15 +4560,15 @@ declare module Phaser {
|
||||||
paused: boolean;
|
paused: boolean;
|
||||||
seconds: number;
|
seconds: number;
|
||||||
|
|
||||||
add(delay: number, callback: Function, callbackContext: any, ...args: any[]): Phaser.TimerEvent;
|
add(delay: number, callback: Function, callbackContext?: any, ...args: any[]): Phaser.TimerEvent;
|
||||||
clearPendingEvents(): void;
|
clearPendingEvents(): void;
|
||||||
destroy(): void;
|
destroy(): void;
|
||||||
loop(delay: number, callback: Function, callbackContext: any, ...args: any[]): Phaser.TimerEvent;
|
loop(delay: number, callback: Function, callbackContext?: any, ...args: any[]): Phaser.TimerEvent;
|
||||||
order(): void;
|
order(): void;
|
||||||
pause(): void;
|
pause(): void;
|
||||||
remove(event: Phaser.TimerEvent): boolean;
|
remove(event: Phaser.TimerEvent): boolean;
|
||||||
removeAll(): void;
|
removeAll(): void;
|
||||||
repeat(delay: number, repeatCount: number, callback: Function, callbackContext: any, ...args: any[]): Phaser.TimerEvent;
|
repeat(delay: number, repeatCount: number, callback: Function, callbackContext?: any, ...args: any[]): Phaser.TimerEvent;
|
||||||
resume(): void;
|
resume(): void;
|
||||||
sortHandler(a: any, b: any): number;
|
sortHandler(a: any, b: any): number;
|
||||||
start(startDelay?: number): void;
|
start(startDelay?: number): void;
|
||||||
|
|
Loading…
Reference in a new issue