arcade-physics
Version:
Use Arcade Physics without Phaser.
18 lines • 916 B
TypeScript
export = RemoveTileAt;
/**
* Removes the tile at the given tile coordinates in the specified layer and updates the layer's
* collision information.
*
* @function Phaser.Tilemaps.Components.RemoveTileAt
* @since 3.0.0
*
* @param {number} tileX - The x coordinate.
* @param {number} tileY - The y coordinate.
* @param {boolean} replaceWithNull - If true, this will replace the tile at the specified location with null instead of a Tile with an index of -1.
* @param {boolean} recalculateFaces - `true` if the faces data should be recalculated.
* @param {Phaser.Tilemaps.LayerData} layer - The Tilemap Layer to act upon.
*
* @return {Phaser.Tilemaps.Tile} The Tile object that was removed.
*/
declare function RemoveTileAt(tileX: number, tileY: number, replaceWithNull: boolean, recalculateFaces: boolean, layer: Phaser.Tilemaps.LayerData): Phaser.Tilemaps.Tile;
//# sourceMappingURL=RemoveTileAt.d.ts.map