From 4b45d488bc533a4a9b6ae726cb74447545472c1c Mon Sep 17 00:00:00 2001 From: Alvin Date: Fri, 11 Jul 2014 15:24:20 +0200 Subject: [PATCH] Added game.add.plugin to the definitions file --- build/phaser.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/build/phaser.d.ts b/build/phaser.d.ts index ecc6101d8..1f61e7372 100644 --- a/build/phaser.d.ts +++ b/build/phaser.d.ts @@ -2061,6 +2061,7 @@ declare module Phaser { 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; + 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; sound(key: string, volume?: number, loop?: number, connect?: boolean): Phaser.Sound;