mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Merge pull request #2452 from osev7/patch-1
typescript defs: Allow game.physics.arcade.collide(group) for collisions within group
This commit is contained in:
commit
d16ef28ae6
1 changed files with 1 additions and 1 deletions
2
typescript/phaser.d.ts
vendored
2
typescript/phaser.d.ts
vendored
|
@ -2847,7 +2847,7 @@ declare module Phaser {
|
|||
angleBetween(source: any, target: any): number;
|
||||
angleToPointer(displayObject: any, pointer?: Phaser.Pointer): number;
|
||||
angleToXY(displayObject: any, x: number, y: number): number;
|
||||
collide(object1: any, object2: any, collideCallback?: Function, processCallback?: Function, callbackContext?: any): boolean;
|
||||
collide(object1: any, object2?: any, collideCallback?: Function, processCallback?: Function, callbackContext?: any): boolean;
|
||||
computeVelocity(axis: number, body: Phaser.Physics.Arcade.Body, velocity: number, acceleration: number, drag: number, max?: number): number;
|
||||
distanceBetween(source: any, target: any): number;
|
||||
distanceToPointer(displayObject: any, pointer?: Phaser.Pointer): number;
|
||||
|
|
Loading…
Reference in a new issue