Merge pull request #875 from JeanDavidDaviet/dev

updated doc for Phaser.Tilemap#createBlankLayer
This commit is contained in:
Richard Davey 2014-06-05 02:29:17 +01:00
commit 62dfd56983
2 changed files with 2 additions and 5 deletions

View file

@ -437,10 +437,7 @@ Phaser.Input.prototype = {
}, },
/** /**
* Adds a callback that is fired every time the activePointer receives a DOM move event such as a mousemove or touchmove. * Removes the callback at the defined index from the Phaser.Input.moveCallbacks array
* It will be called every time the activePointer moves, which in a multi-touch game can be a lot of times, so this is best
* to only use if you've limited input to a single pointer (i.e. mouse or touch).
* The callback is added to the Phaser.Input.moveCallbacks array and should be removed with Phaser.Input.deleteMoveCallback.
* *
* @method Phaser.Input#deleteMoveCallback * @method Phaser.Input#deleteMoveCallback
* @param {number} index - The index of the callback to remove. * @param {number} index - The index of the callback to remove.

View file

@ -459,7 +459,7 @@ Phaser.Tilemap.prototype = {
/** /**
* Creates a new and empty layer on this Tilemap. By default TilemapLayers are fixed to the camera. * Creates a new and empty layer on this Tilemap. By default TilemapLayers are fixed to the camera.
* *
* @method Phaser.Tilemap#createLayer * @method Phaser.Tilemap#createBlankLayer
* @param {string} name - The name of this layer. Must be unique within the map. * @param {string} name - The name of this layer. Must be unique within the map.
* @param {number} width - The width of the layer in tiles. * @param {number} width - The width of the layer in tiles.
* @param {number} height - The height of the layer in tiles. * @param {number} height - The height of the layer in tiles.