jsdoc updates

This commit is contained in:
Richard Davey 2018-03-29 15:12:32 +01:00
parent cef9050627
commit 37589ffe00
2 changed files with 3 additions and 16 deletions

View file

@ -131,7 +131,7 @@ var Sprite = new Class({
* @method Phaser.GameObjects.Sprite#toJSON
* @since 3.0.0
*
* @return {object} [description]
* @return {JSONGameObject} A JSON representation of the Game Object.
*/
toJSON: function ()
{

View file

@ -6,6 +6,8 @@
/**
* @namespace Phaser.Textures
* @property {integer} LINEAR - Linear filter type.
* @property {integer} NEAREST - Nearest neighbor filter type.
*/
var Textures = {
@ -17,22 +19,7 @@ var Textures = {
TextureManager: require('./TextureManager'),
TextureSource: require('./TextureSource'),
/**
* Linear filter type.
*
* @name Phaser.Textures.LINEAR
* @type {integer}
* @since 3.0.0
*/
LINEAR: 0,
/**
* Nearest neighbor filter type.
*
* @name Phaser.Textures.NEAREST
* @type {integer}
* @since 3.0.0
*/
NEAREST: 1
};