mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 15:41:37 +00:00
jsdoc updates
This commit is contained in:
parent
cef9050627
commit
37589ffe00
2 changed files with 3 additions and 16 deletions
|
@ -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 ()
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue