mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
Derive game instance from Scene
This commit is contained in:
parent
562eb4ab1a
commit
7670ec50bb
1 changed files with 2 additions and 2 deletions
|
@ -9,13 +9,13 @@ var SceneInputManager = new Class({
|
|||
|
||||
initialize:
|
||||
|
||||
function SceneInputManager (scene, game)
|
||||
function SceneInputManager (scene)
|
||||
{
|
||||
// The Scene that owns this plugin
|
||||
this.scene = scene;
|
||||
|
||||
// GlobalInputManager
|
||||
this.manager = game.input;
|
||||
this.manager = scene.sys.game.input;
|
||||
|
||||
// A reference to this.scene.sys.displayList (set in boot)
|
||||
this.displayList;
|
||||
|
|
Loading…
Reference in a new issue