From 8b386dbbb19ce2a5efb50990f8de318a8c87e493 Mon Sep 17 00:00:00 2001 From: Amyantis Date: Tue, 12 Jul 2016 14:13:57 +0200 Subject: [PATCH] Fix definition of GameObjectFactory.physicsGroup Making physicsBodyType optionnal according to http://phaser.io/docs/2.6.1/Phaser.GameObjectFactory.html#physicsGroup --- typescript/phaser.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/phaser.d.ts b/typescript/phaser.d.ts index 9fcc90130..60ec1ceff 100644 --- a/typescript/phaser.d.ts +++ b/typescript/phaser.d.ts @@ -1532,7 +1532,7 @@ declare module Phaser { graphics(x: number, y: number, group?: Phaser.Group): Phaser.Graphics; group(parent?: any, name?: string, addToStage?: boolean, enableBody?: boolean, physicsBodyType?: number): Phaser.Group; image(x: number, y: number, key?: any, frame?: any, group?: Phaser.Group): Phaser.Image; - physicsGroup(physicsBodyType: number, parent?: any, name?: string, addToStage?: boolean): Phaser.Group; + physicsGroup(physicsBodyType?: number, parent?: any, name?: string, addToStage?: boolean): Phaser.Group; plugin(plugin: Phaser.Plugin, ...parameter: any[]): Phaser.Plugin; renderTexture(width?: number, height?: number, key?: string, addToCache?: boolean): Phaser.RenderTexture; retroFont(font: string, characterWidth: number, characterHeight: number, chars: string, charsPerRow: number, xSpacing?: number, ySpacing?: number, xOffset?: number, yOffset?: number): Phaser.RetroFont;