Update StaticTilemapLayer.js

This commit is contained in:
svipal 2020-02-08 12:06:02 +01:00 committed by GitHub
parent e8fe850edf
commit a8719c5697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1321,14 +1321,13 @@ var StaticTilemapLayer = new Class({
}, },
/** /**
* Converts from tile X and Y coordinates (tile units) to world X coordinates (pixels), factoring in the * Converts from tile X coordinates (tile units) to world X coordinates (pixels), factoring in the
* layers position, scale and scroll. * layers position, scale and scroll.
* *
* @method Phaser.Tilemaps.StaticTilemapLayer#tileToWorldX * @method Phaser.Tilemaps.StaticTilemapLayer#tileToWorldX
* @since 3.0.0 * @since 3.0.0
* *
* @param {integer} tileX - The X coordinate, in tile coordinates. * @param {integer} tileX - The X coordinate, in tile coordinates.
* @param {integer} tileY - The Y coordinate, in tile coordinates.
* @param {Phaser.Cameras.Scene2D.Camera} [camera=main camera] - The Camera to use when calculating the world values from the tile index. * @param {Phaser.Cameras.Scene2D.Camera} [camera=main camera] - The Camera to use when calculating the world values from the tile index.
* *
* @return {number} * @return {number}
@ -1339,14 +1338,13 @@ var StaticTilemapLayer = new Class({
}, },
/** /**
* Converts from tile X and Y coordinates (tile units) to world Y coordinates (pixels), factoring in the * Converts from tile Y coordinates (tile units) to world Y coordinates (pixels), factoring in the
* layers position, scale and scroll. * layers position, scale and scroll.
* *
* @method Phaser.Tilemaps.StaticTilemapLayer#tileToWorldY * @method Phaser.Tilemaps.StaticTilemapLayer#tileToWorldY
* @since 3.0.0 * @since 3.0.0
* *
* @param {integer} tileY - The Y coordinate, in tile coordinates. * @param {integer} tileY - The Y coordinate, in tile coordinates.
* @param {integer} tileY - The Y coordinate, in tile coordinates.
* @param {Phaser.Cameras.Scene2D.Camera} [camera=main camera] - The Camera to use when calculating the world values from the tile index. * @param {Phaser.Cameras.Scene2D.Camera} [camera=main camera] - The Camera to use when calculating the world values from the tile index.
* *
* @return {number} * @return {number}