Bumping to 3.7.0

This commit is contained in:
Richard Davey 2018-05-04 18:51:02 +01:00
parent 7c53e13e81
commit 29aec01b6f
7 changed files with 19 additions and 19 deletions

View file

@ -20,7 +20,7 @@ var CONST = {
* @type {string}
* @since 3.0.0
*/
VERSION: '3.6.1',
VERSION: '3.7.0',
BlendModes: require('./renderer/BlendModes'),

View file

@ -200,7 +200,7 @@ var BitmapMask = new Class({
* so be sure to call `clearMask` on any Game Object using it, before destroying it.
*
* @method Phaser.Display.Masks.BitmapMask#destroy
* @since 3.6.1
* @since 3.7.0
*/
destroy: function ()
{

View file

@ -140,7 +140,7 @@ var GeometryMask = new Class({
* so be sure to call `clearMask` on any Game Object using it, before destroying it.
*
* @method Phaser.Display.Masks.GeometryMask#destroy
* @since 3.6.1
* @since 3.7.0
*/
destroy: function ()
{

View file

@ -32,7 +32,7 @@ var Texture = require('./Texture');
* @extends Phaser.Textures.Texture
* @memberOf Phaser.Textures
* @constructor
* @since 3.6.1
* @since 3.7.0
*
* @param {Phaser.Textures.TextureManager} manager - A reference to the Texture Manager this Texture belongs to.
* @param {string} key - The unique string-based key of this Texture.
@ -58,7 +58,7 @@ var CanvasTexture = new Class({
* @name Phaser.Textures.TextureManager#_source
* @type {Phaser.Textures.TextureSource}
* @private
* @since 3.6.1
* @since 3.7.0
*/
this._source = this.frames['__BASE'].source;
@ -68,7 +68,7 @@ var CanvasTexture = new Class({
* @name Phaser.Textures.TextureManager#canvas
* @readOnly
* @type {HTMLCanvasElement}
* @since 3.6.1
* @since 3.7.0
*/
this.canvas = this._source.image;
@ -78,7 +78,7 @@ var CanvasTexture = new Class({
* @name Phaser.Textures.TextureManager#canvas
* @readOnly
* @type {CanvasRenderingContext2D}
* @since 3.6.1
* @since 3.7.0
*/
this.context = this.canvas.getContext('2d');
@ -89,7 +89,7 @@ var CanvasTexture = new Class({
* @name Phaser.Textures.TextureManager#width
* @readOnly
* @type {integer}
* @since 3.6.1
* @since 3.7.0
*/
this.width = width;
@ -100,7 +100,7 @@ var CanvasTexture = new Class({
* @name Phaser.Textures.TextureManager#height
* @readOnly
* @type {integer}
* @since 3.6.1
* @since 3.7.0
*/
this.height = height;
},
@ -111,7 +111,7 @@ var CanvasTexture = new Class({
* canvas has changed, as there is a significant GPU texture allocation cost involved in doing so.
*
* @method Phaser.Textures.CanvasTexture#refresh
* @since 3.6.1
* @since 3.7.0
*
* @return {Phaser.Textures.CanvasTexture} This CanvasTexture.
*/
@ -126,7 +126,7 @@ var CanvasTexture = new Class({
* Gets the Canvas Element.
*
* @method Phaser.Textures.CanvasTexture#getCanvas
* @since 3.6.1
* @since 3.7.0
*
* @return {HTMLCanvasElement} The Canvas DOM element this texture is using.
*/
@ -139,7 +139,7 @@ var CanvasTexture = new Class({
* Gets the 2D Canvas Rendering Context.
*
* @method Phaser.Textures.CanvasTexture#getContext
* @since 3.6.1
* @since 3.7.0
*
* @return {CanvasRenderingContext2D} The Canvas Rendering Context this texture is using.
*/
@ -152,7 +152,7 @@ var CanvasTexture = new Class({
* Clears this Canvas Texture, resetting it back to transparent.
*
* @method Phaser.Textures.CanvasTexture#clear
* @since 3.6.1
* @since 3.7.0
*
* @return {Phaser.Textures.CanvasTexture} The Canvas Texture.
*/
@ -167,7 +167,7 @@ var CanvasTexture = new Class({
* Changes the size of this Canvas Texture.
*
* @method Phaser.Textures.CanvasTexture#setSize
* @since 3.6.1
* @since 3.7.0
*
* @param {integer} width - The new width of the Canvas.
* @param {integer} [height] - The new height of the Canvas. If not given it will use the width as the height.

View file

@ -304,7 +304,7 @@ var Frame = new Class({
* and should rarely be changed on-the-fly.
*
* @method Phaser.Textures.Frame#setSize
* @since 3.6.1
* @since 3.7.0
*
* @param {integer} width - The width of the frame before being trimmed.
* @param {integer} height - The height of the frame before being trimmed.

View file

@ -153,7 +153,7 @@ var TextureManager = new Class({
* Checks the given texture key and throws a console.warn if the key is already in use, then returns false.
*
* @method Phaser.Textures.TextureManager#checkKey
* @since 3.6.1
* @since 3.7.0
*
* @param {string} key - The texture key to check.
*
@ -182,7 +182,7 @@ var TextureManager = new Class({
* step when clearing down to avoid this.
*
* @method Phaser.Textures.TextureManager#remove
* @since 3.6.1
* @since 3.7.0
*
* @param {(string|Phaser.Textures.Texture)} key - The key of the Texture to remove, or a reference to it.
*

View file

@ -39,7 +39,7 @@ var TextureSource = new Class({
*
* @name Phaser.Textures.TextureSource#renderer
* @type {(Phaser.Renderer.Canvas.CanvasRenderer|Phaser.Renderer.WebGL.WebGLRenderer)}
* @since 3.6.1
* @since 3.7.0
*/
this.renderer = game.renderer;
@ -195,7 +195,7 @@ var TextureSource = new Class({
* it updates the WebGLTexture using the canvas data.
*
* @method Phaser.Textures.TextureSource#update
* @since 3.6.1
* @since 3.7.0
*/
update: function ()
{