Update Documentation in Game.js

Updated the documentation in Game.js to indicate that the renderType property could be set to Phaser.HEADLESS.
This commit is contained in:
zeterain 2016-05-18 10:56:44 -06:00
parent a6a2c61240
commit cd188ed0ab

View file

@ -122,7 +122,7 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant
this.renderer = null; this.renderer = null;
/** /**
* @property {number} renderType - The Renderer this game will use. Either Phaser.AUTO, Phaser.CANVAS or Phaser.WEBGL. * @property {number} renderType - The Renderer this game will use. Either Phaser.AUTO, Phaser.CANVAS, Phaser.WEBGL, or Phaser.HEADLESS.
* @readonly * @readonly
*/ */
this.renderType = Phaser.AUTO; this.renderType = Phaser.AUTO;