UNPKG

arcade-physics

Version:
16 lines 756 B
export = CheckIsoBounds; /** * Checks if the given tile coordinate is within the isometric layer bounds, or not. * * @function Phaser.Tilemaps.Components.CheckIsoBounds * @since 3.50.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 check against. * @param {Phaser.Cameras.Scene2D.Camera} [camera] - The Camera to run the cull check against. * * @return {boolean} Returns `true` if the coordinates are within the iso bounds. */ declare function CheckIsoBounds(tileX: number, tileY: number, layer: Phaser.Tilemaps.LayerData, camera?: any): boolean; //# sourceMappingURL=CheckIsoBounds.d.ts.map