mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 11:33:28 +00:00
Update StaticTilemapLayer.js
This commit is contained in:
parent
e8fe850edf
commit
a8719c5697
1 changed files with 2 additions and 4 deletions
|
@ -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.
|
||||
*
|
||||
* @method Phaser.Tilemaps.StaticTilemapLayer#tileToWorldX
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @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.
|
||||
*
|
||||
* @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.
|
||||
*
|
||||
* @method Phaser.Tilemaps.StaticTilemapLayer#tileToWorldY
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @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.
|
||||
*
|
||||
* @return {number}
|
||||
|
|
Loading…
Reference in a new issue