/** * @author Richard Davey * @copyright 2018 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ declare var Class: any; declare var Components: any; declare var Rectangle: any; /** * @classdesc * A Tile is a representation of a single tile within the Tilemap. This is a lightweight data * representation, so its position information is stored without factoring in scroll, layer * scale or layer position. * * @class Tile * @memberOf Phaser.Tilemaps * @constructor * @since 3.0.0 * * @extends Phaser.GameObjects.Components.Alpha * @extends Phaser.GameObjects.Components.Flip * @extends Phaser.GameObjects.Components.Visible * * @param {Phaser.Tilemaps.LayerData} layer - The LayerData object in the Tilemap that this tile belongs to. * @param {integer} index - The unique index of this tile within the map. * @param {integer} x - The x coordinate of this tile in tile coordinates. * @param {integer} y - The y coordinate of this tile in tile coordinates. * @param {integer} width - Width of the tile in pixels. * @param {integer} height - Height of the tile in pixels. * @param {integer} baseWidth - The base width a tile in the map (in pixels). Tiled maps support * multiple tileset sizes within one map, but they are still placed at intervals of the base * tile width. * @param {integer} baseHeight - The base height of the tile in pixels (in pixels). Tiled maps * support multiple tileset sizes within one map, but they are still placed at intervals of the * base tile height. */ declare var Tile: any;