File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ var Game = new Class({
5555 /**
5656 * A reference to either the Canvas or WebGL Renderer that this Game is using.
5757 *
58- * @property {Phaser.Renderer.CanvasRenderer|Phaser.Renderer.WebGLRenderer } renderer
58+ * @property {Phaser.Renderer.Canvas. CanvasRenderer|Phaser.Renderer.WebGL .WebGLRenderer } renderer
5959 * @since 3.0.0
6060 */
6161 this . renderer = null ;
Original file line number Diff line number Diff line change 11var GetFastValue = require ( '../utils/object/GetFastValue' ) ;
22var UppercaseFirst = require ( '../utils/string/UppercaseFirst' ) ;
33
4+ /**
5+ * Builds an array of which physics plugins should be activated for the given Scene.
6+ *
7+ * @function Phaser.Scenes.GetPhysicsPlugins
8+ * @since 3.0.0
9+ *
10+ * @param {Phaser.Scenes.Systems } sys - [description]
11+ *
12+ * @return {array } [description]
13+ */
414var GetPhysicsPlugins = function ( sys )
515{
616 var defaultSystem = sys . game . config . defaultPhysicsSystem ;
Original file line number Diff line number Diff line change 11var GetFastValue = require ( '../utils/object/GetFastValue' ) ;
22
3+ /**
4+ * Builds an array of which plugins (not including physics plugins) should be activated for the given Scene.
5+ *
6+ * @function Phaser.Scenes.GetScenePlugins
7+ * @since 3.0.0
8+ *
9+ * @param {Phaser.Scenes.Systems } sys - [description]
10+ *
11+ * @return {array } [description]
12+ */
313var GetScenePlugins = function ( sys )
414{
515 var defaultPlugins = sys . game . config . defaultPlugins ;
Original file line number Diff line number Diff line change 11var Class = require ( '../utils/Class' ) ;
22var Systems = require ( './Systems' ) ;
33
4+ /**
5+ * @classdesc
6+ * [description]
7+ *
8+ * @class Scene
9+ * @memberOf Phaser
10+ * @constructor
11+ * @since 3.0.0
12+ *
13+ * @param {object } config - [description]
14+ */
415var Scene = new Class ( {
516
617 initialize :
718
819 function Scene ( config )
920 {
10- // The Scene Systems. You must never overwrite this property, or all hell will break lose.
21+ /**
22+ * The Scene Systems. You must never overwrite this property, or all hell will break lose.
23+ *
24+ * @name Phaser.Scene#sys
25+ * @type {Phaser.Scenes.Systems }
26+ * @since 3.0.0
27+ */
1128 this . sys = new Systems ( this , config ) ;
1229 } ,
1330
14- // Should be overridden by your own Scenes
31+ /**
32+ * Should be overridden by your own Scenes.
33+ *
34+ * @method Phaser.Scene#update
35+ * @override
36+ * @since 3.0.0
37+ */
1538 update : function ( )
1639 {
1740 }
Original file line number Diff line number Diff line change @@ -2,6 +2,16 @@ var CONST = require('./const');
22var GetValue = require ( '../utils/object/GetValue' ) ;
33var InjectionMap = require ( './InjectionMap' ) ;
44
5+ /**
6+ * Takes a Scene configuration object and returns a fully formed Systems object.
7+ *
8+ * @function Phaser.Scenes.Settings.create
9+ * @since 3.0.0
10+ *
11+ * @param {object } config - [description]
12+ *
13+ * @return {object } [description]
14+ */
515var Settings = {
616
717 create : function ( config )
You can’t perform that action at this time.
0 commit comments