mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Merge pull request #875 from JeanDavidDaviet/dev
updated doc for Phaser.Tilemap#createBlankLayer
This commit is contained in:
commit
62dfd56983
2 changed files with 2 additions and 5 deletions
|
@ -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.
|
||||
* 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.
|
||||
* Removes the callback at the defined index from the Phaser.Input.moveCallbacks array
|
||||
*
|
||||
* @method Phaser.Input#deleteMoveCallback
|
||||
* @param {number} index - The index of the callback to remove.
|
||||
|
|
|
@ -459,7 +459,7 @@ Phaser.Tilemap.prototype = {
|
|||
/**
|
||||
* 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 {number} width - The width of the layer in tiles.
|
||||
* @param {number} height - The height of the layer in tiles.
|
||||
|
|
Loading…
Reference in a new issue