mirror of
https://github.com/photonstorm/phaser
synced 2024-11-15 09:27:37 +00:00
Merge pull request #1568 from Bilge/patch-1
Added missing plugins member in Phaser.Game class.
This commit is contained in:
commit
ad9b8ae8e1
2 changed files with 6 additions and 0 deletions
|
@ -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.
|
||||
|
|
1
typescript/phaser.d.ts
vendored
1
typescript/phaser.d.ts
vendored
|
@ -1162,6 +1162,7 @@ declare module Phaser {
|
|||
pendingStep: boolean;
|
||||
physics: Phaser.Physics;
|
||||
physicsConfig: any;
|
||||
plugins: PluginManager;
|
||||
preserveDrawingBuffer: Boolean;
|
||||
raf: Phaser.RequestAnimationFrame;
|
||||
renderer: number;
|
||||
|
|
Loading…
Reference in a new issue