mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 22:18:29 +00:00
Fix #4859
This commit is contained in:
parent
f7a1355161
commit
8d51e8ab2c
1 changed files with 2 additions and 2 deletions
|
@ -861,7 +861,7 @@ var Tilemap = new Class({
|
|||
* @param {TilemapFilterCallback} callback - The callback. Each object in the given area will be passed to this callback as the first and only parameter.
|
||||
* @param {object} [context] - The context under which the callback should be run.
|
||||
*
|
||||
* @return {?Phaser.GameObjects.GameObject[]} An array of object that match the search, or null if the objectLayer given was invalid.
|
||||
* @return {?Phaser.Types.Tilemaps.TiledObject[]} An array of object that match the search, or null if the objectLayer given was invalid.
|
||||
*/
|
||||
filterObjects: function (objectLayer, callback, context)
|
||||
{
|
||||
|
@ -951,7 +951,7 @@ var Tilemap = new Class({
|
|||
* @param {TilemapFindCallback} callback - The callback. Each object in the given area will be passed to this callback as the first and only parameter.
|
||||
* @param {object} [context] - The context under which the callback should be run.
|
||||
*
|
||||
* @return {?Phaser.GameObjects.GameObject} An object that matches the search, or null if no object found.
|
||||
* @return {?Phaser.Types.Tilemaps.TiledObject} An object that matches the search, or null if no object found.
|
||||
*/
|
||||
findObject: function (objectLayer, callback, context)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue