mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
Defs update #2517
This commit is contained in:
parent
dfa8b9dedc
commit
cb70152bc0
1 changed files with 2 additions and 0 deletions
2
typescript/phaser.d.ts
vendored
2
typescript/phaser.d.ts
vendored
|
@ -2860,6 +2860,8 @@ declare module "phaser" {
|
||||||
enable(object: any, children?: Boolean): void;
|
enable(object: any, children?: Boolean): void;
|
||||||
enableBody(object: any): void;
|
enableBody(object: any): void;
|
||||||
getObjectsAtLocation(x: number, y: number, group: Phaser.Group, callback?: (callbackArg: any, object: any) => void, callbackContext?: any, callbackArg?: any): Sprite[];
|
getObjectsAtLocation(x: number, y: number, group: Phaser.Group, callback?: (callbackArg: any, object: any) => void, callbackContext?: any, callbackArg?: any): Sprite[];
|
||||||
|
getOverlapX(body1: Phaser.Physics.Arcade.Body, body2: Phaser.Physics.Arcade.Body): number;
|
||||||
|
getOverlapY(body1: Phaser.Physics.Arcade.Body, body2: Phaser.Physics.Arcade.Body): number;
|
||||||
intersects(body1: Phaser.Physics.Arcade.Body, body2: Phaser.Physics.Arcade.Body): boolean;
|
intersects(body1: Phaser.Physics.Arcade.Body, body2: Phaser.Physics.Arcade.Body): boolean;
|
||||||
moveToObject(displayObject: any, destination: any, speed?: number, maxTime?: number): number;
|
moveToObject(displayObject: any, destination: any, speed?: number, maxTime?: number): number;
|
||||||
moveToPointer(displayObject: any, speed?: number, pointer?: Phaser.Pointer, maxTime?: number): number;
|
moveToPointer(displayObject: any, speed?: number, pointer?: Phaser.Pointer, maxTime?: number): number;
|
||||||
|
|
Loading…
Reference in a new issue