mirror of
https://github.com/photonstorm/phaser
synced 2024-11-14 00:47:29 +00:00
Update JSDoc on Textures, Tilemaps and Time
This commit is contained in:
parent
6b5dc62ad1
commit
cb708dcc32
5 changed files with 11 additions and 11 deletions
|
@ -97,7 +97,7 @@ var TextureSource = new Class({
|
|||
* Either Linear or Nearest.
|
||||
*
|
||||
* @name Phaser.Textures.TextureSource#scaleMode
|
||||
* @type {[type]}
|
||||
* @type {number}
|
||||
* @since 3.0.0
|
||||
*/
|
||||
this.scaleMode = ScaleModes.DEFAULT;
|
||||
|
@ -124,7 +124,7 @@ var TextureSource = new Class({
|
|||
* The WebGL Texture of the source image.
|
||||
*
|
||||
* @name Phaser.Textures.TextureSource#glTexture
|
||||
* @type {?[type]}
|
||||
* @type {?WebGLTexture}
|
||||
* @default null
|
||||
* @since 3.0.0
|
||||
*/
|
||||
|
|
|
@ -33,7 +33,7 @@ var ParseWeltmeister = require('./impact/ParseWeltmeister');
|
|||
* consumption. However if your map is small or you need to update the tiles dynamically, then leave
|
||||
* the default value set.
|
||||
*
|
||||
* @return {[type]} [description]
|
||||
* @return {Phaser.Tilemaps.MapData} [description]
|
||||
*/
|
||||
var Parse = function (name, mapFormat, data, tileWidth, tileHeight, insertNull)
|
||||
{
|
||||
|
|
|
@ -14,7 +14,7 @@ var Tile = require('../Tile');
|
|||
*
|
||||
* @function Phaser.Tilemaps.Parsers.Parse2DArray
|
||||
* @since 3.0.0
|
||||
*
|
||||
*
|
||||
* @param {string} name - The name of the tilemap, used to set the name on the MapData.
|
||||
* @param {integer[][]} data - 2D array, CSV string or Tiled JSON object.
|
||||
* @param {integer} tileWidth - The width of a tile in pixels.
|
||||
|
@ -25,8 +25,8 @@ var Tile = require('../Tile');
|
|||
* the tile data doesn't need to change then setting this value to `true` will help with memory
|
||||
* consumption. However if your map is small or you need to update the tiles dynamically, then leave
|
||||
* the default value set.
|
||||
*
|
||||
* @return {[type]} [description]
|
||||
*
|
||||
* @return {Phaser.Tilemaps.MapData} [description]
|
||||
*/
|
||||
var Parse2DArray = function (name, data, tileWidth, tileHeight, insertNull)
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ var Parse2DArray = require('./Parse2DArray');
|
|||
*
|
||||
* @function Phaser.Tilemaps.Parsers.ParseCSV
|
||||
* @since 3.0.0
|
||||
*
|
||||
*
|
||||
* @param {string} name - The name of the tilemap, used to set the name on the MapData.
|
||||
* @param {string} data - CSV string of tile indexes.
|
||||
* @param {integer} tileWidth - The width of a tile in pixels.
|
||||
|
@ -23,8 +23,8 @@ var Parse2DArray = require('./Parse2DArray');
|
|||
* the tile data doesn't need to change then setting this value to `true` will help with memory
|
||||
* consumption. However if your map is small or you need to update the tiles dynamically, then leave
|
||||
* the default value set.
|
||||
*
|
||||
* @return {[type]} [description]
|
||||
*
|
||||
* @return {Phaser.Tilemaps.MapData} [description]
|
||||
*/
|
||||
var ParseCSV = function (name, data, tileWidth, tileHeight, insertNull)
|
||||
{
|
||||
|
|
|
@ -160,7 +160,7 @@ var Clock = new Class({
|
|||
* @param {array} args - [description]
|
||||
* @param {object} callbackScope - [description]
|
||||
*
|
||||
* @return {[type]} [description]
|
||||
* @return {Phaser.Time.TimerEvent} [description]
|
||||
*/
|
||||
delayedCall: function (delay, callback, args, callbackScope)
|
||||
{
|
||||
|
@ -172,7 +172,7 @@ var Clock = new Class({
|
|||
*
|
||||
* @method Phaser.Time.Clock#clearPendingEvents
|
||||
* @since 3.0.0
|
||||
*
|
||||
*
|
||||
* @return {Phaser.Time.Clock} [description]
|
||||
*/
|
||||
clearPendingEvents: function ()
|
||||
|
|
Loading…
Reference in a new issue