Merge pull request #998 from alvinsight/dev

Added game.add.plugin to the definitions file
This commit is contained in:
Richard Davey 2014-07-11 16:06:06 +01:00
commit ed0a228c90

1
build/phaser.d.ts vendored
View file

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