Skip to content

Commit cb70152

Browse files
committed
Defs update phaserjs#2517
1 parent dfa8b9d commit cb70152

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

typescript/phaser.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2860,6 +2860,8 @@ declare module "phaser" {
28602860
enable(object: any, children?: Boolean): void;
28612861
enableBody(object: any): void;
28622862
getObjectsAtLocation(x: number, y: number, group: Phaser.Group, callback?: (callbackArg: any, object: any) => void, callbackContext?: any, callbackArg?: any): Sprite[];
2863+
getOverlapX(body1: Phaser.Physics.Arcade.Body, body2: Phaser.Physics.Arcade.Body): number;
2864+
getOverlapY(body1: Phaser.Physics.Arcade.Body, body2: Phaser.Physics.Arcade.Body): number;
28632865
intersects(body1: Phaser.Physics.Arcade.Body, body2: Phaser.Physics.Arcade.Body): boolean;
28642866
moveToObject(displayObject: any, destination: any, speed?: number, maxTime?: number): number;
28652867
moveToPointer(displayObject: any, speed?: number, pointer?: Phaser.Pointer, maxTime?: number): number;

0 commit comments

Comments
 (0)