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;
|
||||
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;
|
||||
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;
|
||||
pause(): void;
|
||||
remove(event: Phaser.TimerEvent): boolean;
|
||||
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;
|
||||
sortHandler(a: any, b: any): number;
|
||||
start(startDelay?: number): void;
|
||||
|
|
Loading…
Reference in a new issue