arcade-physics
Version:
Use Arcade Physics without Phaser.
24 lines • 1.19 kB
TypeScript
export = Tileset;
/**
* @classdesc
* A Tileset is a combination of an image containing the tiles and a container for data about
* each tile.
*
* @class Tileset
* @memberof Phaser.Tilemaps
* @constructor
* @since 3.0.0
*
* @param {string} name - The name of the tileset in the map data.
* @param {number} firstgid - The first tile index this tileset contains.
* @param {number} [tileWidth=32] - Width of each tile (in pixels).
* @param {number} [tileHeight=32] - Height of each tile (in pixels).
* @param {number} [tileMargin=0] - The margin around all tiles in the sheet (in pixels).
* @param {number} [tileSpacing=0] - The spacing between each tile in the sheet (in pixels).
* @param {object} [tileProperties={}] - Custom properties defined per tile in the Tileset.
* These typically are custom properties created in Tiled when editing a tileset.
* @param {object} [tileData={}] - Data stored per tile. These typically are created in Tiled when editing a tileset, e.g. from Tiled's tile collision editor or terrain editor.
* @param {object} [tileOffset={x: 0, y: 0}] - Tile texture drawing offset.
*/
declare var Tileset: any;
//# sourceMappingURL=Tileset.d.ts.map