UNPKG

arcade-physics

Version:
20 lines 841 B
export = IsInLayerBounds; /** * @author Richard Davey <rich@photonstorm.com> * @copyright 2013-2023 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Checks if the given tile coordinates are within the bounds of the layer. * * @function Phaser.Tilemaps.Components.IsInLayerBounds * @since 3.0.0 * * @param {number} tileX - The x coordinate, in tiles, not pixels. * @param {number} tileY - The y coordinate, in tiles, not pixels. * @param {Phaser.Tilemaps.LayerData} layer - The Tilemap Layer to act upon. * * @return {boolean} `true` if the tile coordinates are within the bounds of the layer, otherwise `false`. */ declare function IsInLayerBounds(tileX: number, tileY: number, layer: Phaser.Tilemaps.LayerData): boolean; //# sourceMappingURL=IsInLayerBounds.d.ts.map