You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tilemaps/Tilemap.js
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -859,7 +859,7 @@ var Tilemap = new Class({
859
859
* @param {integer} [tileY=0] - The top most tile index (in tile coordinates) to use as the origin of the area to filter.
860
860
* @param {integer} [width=max width based on tileX] - How many tiles wide from the `tileX` index the area will be.
861
861
* @param {integer} [height=max height based on tileY] - How many tiles tall from the `tileY` index the area will be.
862
-
* @param {Phaser.Tilemaps.Types.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
862
+
* @param {Phaser.Types.Tilemaps.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
863
863
* @param {(string|integer|Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} [layer] - The tile layer to use. If not given the current layer is used.
864
864
*
865
865
* @return {?Phaser.Tilemaps.Tile[]} Returns an array of Tiles, or null if the layer given was invalid.
@@ -947,7 +947,7 @@ var Tilemap = new Class({
947
947
* @param {integer} [tileY=0] - The top most tile index (in tile coordinates) to use as the origin of the area to search.
948
948
* @param {integer} [width=max width based on tileX] - How many tiles wide from the `tileX` index the area will be.
949
949
* @param {integer} [height=max height based on tileY] - How many tiles tall from the `tileY` index the area will be.
950
-
* @param {Phaser.Tilemaps.Types.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
950
+
* @param {Phaser.Types.Tilemaps.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
951
951
* @param {(string|integer|Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} [layer] - The Tile layer to run the search on. If not provided will use the current layer.
952
952
*
953
953
* @return {?Phaser.Tilemaps.Tile} Returns a Tiles, or null if the layer given was invalid.
@@ -976,7 +976,7 @@ var Tilemap = new Class({
976
976
* @param {integer} [tileY=0] - The top most tile index (in tile coordinates) to use as the origin of the area to search.
977
977
* @param {integer} [width=max width based on tileX] - How many tiles wide from the `tileX` index the area will be.
978
978
* @param {integer} [height=max height based on tileY] - How many tiles tall from the `tileY` index the area will be.
979
-
* @param {Phaser.Tilemaps.Types.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
979
+
* @param {Phaser.Types.Tilemaps.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
980
980
* @param {(string|integer|Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} [layer] - The Tile layer to run the search on. If not provided will use the current layer.
981
981
*
982
982
* @return {?Phaser.Tilemaps.Tilemap} Returns this, or null if the layer given was invalid.
@@ -1181,7 +1181,7 @@ var Tilemap = new Class({
1181
1181
* @param {integer} [tileY=0] - The top most tile index (in tile coordinates) to use as the origin of the area.
1182
1182
* @param {integer} [width=max width based on tileX] - How many tiles wide from the `tileX` index the area will be.
1183
1183
* @param {integer} [height=max height based on tileY] - How many tiles tall from the `tileY` index the area will be.
1184
-
* @param {Phaser.Tilemaps.Types.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
1184
+
* @param {Phaser.Types.Tilemaps.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
1185
1185
* @param {(string|integer|Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} [layer] - The tile layer to use. If not given the current layer is used.
1186
1186
*
1187
1187
* @return {?Phaser.Tilemaps.Tile[]} Returns an array of Tiles, or null if the layer given was invalid.
@@ -1204,7 +1204,7 @@ var Tilemap = new Class({
1204
1204
* @since 3.0.0
1205
1205
*
1206
1206
* @param {(Phaser.Geom.Circle|Phaser.Geom.Line|Phaser.Geom.Rectangle|Phaser.Geom.Triangle)} shape - A shape in world (pixel) coordinates
1207
-
* @param {Phaser.Tilemaps.Types.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
1207
+
* @param {Phaser.Types.Tilemaps.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
1208
1208
* @param {Phaser.Cameras.Scene2D.Camera} [camera=main camera] - The Camera to use when factoring in which tiles to return.
1209
1209
* @param {(string|integer|Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} [layer] - The tile layer to use. If not given the current layer is used.
1210
1210
*
@@ -1230,7 +1230,7 @@ var Tilemap = new Class({
1230
1230
* @param {number} worldY - The world y coordinate for the top-left of the area.
1231
1231
* @param {number} width - The width of the area.
1232
1232
* @param {number} height - The height of the area.
1233
-
* @param {Phaser.Tilemaps.Types.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
1233
+
* @param {Phaser.Types.Tilemaps.FilteringOptions} [filteringOptions] - Optional filters to apply when getting the tiles.
1234
1234
* @param {Phaser.Cameras.Scene2D.Camera} [camera=main camera] - The Camera to use when factoring in which tiles to return.
1235
1235
* @param {(string|integer|Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} [layer] - The tile layer to use. If not given the current layer is used.
1236
1236
*
@@ -1748,7 +1748,7 @@ var Tilemap = new Class({
1748
1748
* @since 3.0.0
1749
1749
*
1750
1750
* @param {Phaser.GameObjects.Graphics} graphics - The target Graphics object to draw upon.
1751
-
* @param {Phaser.Tilemaps.Types.StyleConfig} styleConfig - An object specifying the colors to use for the debug drawing.
1751
+
* @param {Phaser.Types.Tilemaps.StyleConfig} styleConfig - An object specifying the colors to use for the debug drawing.
1752
1752
* @param {(string|integer|Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} [layer] - The tile layer to use. If not given the current layer is used.
1753
1753
*
1754
1754
* @return {?Phaser.Tilemaps.Tilemap} Return this Tilemap object, or null if the layer given was invalid.
@@ -1775,7 +1775,7 @@ var Tilemap = new Class({
1775
1775
* @since 3.17.0
1776
1776
*
1777
1777
* @param {Phaser.GameObjects.Graphics} graphics - The target Graphics object to draw upon.
1778
-
* @param {Phaser.Tilemaps.Types.StyleConfig} styleConfig - An object specifying the colors to use for the debug drawing.
1778
+
* @param {Phaser.Types.Tilemaps.StyleConfig} styleConfig - An object specifying the colors to use for the debug drawing.
1779
1779
* @param {(string|integer|Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} [layer] - The tile layer to use. If not given the current layer is used.
1780
1780
*
1781
1781
* @return {?Phaser.Tilemaps.Tilemap} Return this Tilemap object, or null if the layer given was invalid.
* @property {?(Phaser.Display.Color|number|null)} [tileColor=blue] - Color to use for drawing a filled rectangle at non-colliding tile locations. If set to null, non-colliding tiles will not be drawn.
0 commit comments