Merge pull request #1568 from Bilge/patch-1

Added missing plugins member in Phaser.Game class.
This commit is contained in:
Richard Davey 2015-02-03 20:31:26 +00:00
commit ad9b8ae8e1
2 changed files with 6 additions and 0 deletions

View file

@ -202,6 +202,11 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant
* @property {Phaser.Physics} physics - Reference to the physics manager.
*/
this.physics = null;
/**
* @property {Phaser.PluginManager} plugins - Reference to the plugin manager.
*/
this.plugins = null;
/**
* @property {Phaser.RandomDataGenerator} rnd - Instance of repeatable random data generator helper.

View file

@ -1162,6 +1162,7 @@ declare module Phaser {
pendingStep: boolean;
physics: Phaser.Physics;
physicsConfig: any;
plugins: PluginManager;
preserveDrawingBuffer: Boolean;
raf: Phaser.RequestAnimationFrame;
renderer: number;