arcade-physics
Version:
Use Arcade Physics without Phaser.
18 lines • 703 B
TypeScript
export = SetTileCollision;
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2013-2023 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Internally used method to set the colliding state of a tile. This does not recalculate
* interesting faces.
*
* @function Phaser.Tilemaps.Components.SetTileCollision
* @since 3.0.0
*
* @param {Phaser.Tilemaps.Tile} tile - The Tile to set the collision on.
* @param {boolean} [collides=true] - Should the tile index collide or not?
*/
declare function SetTileCollision(tile: Phaser.Tilemaps.Tile, collides?: boolean | undefined): void;
//# sourceMappingURL=SetTileCollision.d.ts.map