File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,62 @@ var Game = function (config)
1111{
1212 this . config = new Config ( config ) ;
1313
14+ // Decide which of the following should be Game properties, or placed elsewhere ...
15+
16+ this . renderer = null ;
17+ this . canvas = null ;
18+ this . context = null ;
19+
20+ /**
21+ * @property {string|HTMLElement } parent - The Games DOM parent.
22+ * @default
23+ */
24+ this . parent = parent ;
25+
26+ this . isBooted = false ;
27+ this . isRunning = false ;
28+
29+ /**
30+ * @property {Phaser.RequestAnimationFrame } raf - Automatically handles the core game loop via requestAnimationFrame or setTimeout
31+ * @protected
32+ */
33+ this . raf = null ;
34+
35+ /**
36+ * @property {Phaser.TextureManager } textures - Reference to the Phaser Texture Manager.
37+ */
38+ this . textures = null ;
39+
40+ /**
41+ * @property {Phaser.UpdateManager } updates - Reference to the Phaser Update Manager.
42+ */
43+ this . updates = null ;
44+
45+ /**
46+ * @property {Phaser.Cache } cache - Reference to the assets cache.
47+ */
48+ this . cache = null ;
49+
50+ /**
51+ * @property {Phaser.Input } input - Reference to the input manager
52+ */
53+ this . input = null ;
54+
55+ /**
56+ * @property {Phaser.StateManager } state - The StateManager.
57+ */
58+ // this.state = new Phaser.StateManager(this, stateConfig);
59+
60+ /**
61+ * @property {Phaser.Device } device - Contains device information and capabilities.
62+ */
63+ // this.device = Phaser.Device;
64+
65+ // this.rnd = new Phaser.RandomDataGenerator([ (Date.now() * Math.random()).toString() ]);
66+
67+ // this.device.whenReady(this.boot, this);
68+
69+
1470 DebugHeader ( this ) ;
1571} ;
1672
You can’t perform that action at this time.
0 commit comments