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:
Richard Davey 2016-04-27 23:56:43 +01:00
commit d16ef28ae6

View file

@ -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;