mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
spelling: coordinates
This commit is contained in:
parent
1731360a6d
commit
9fb412bb07
2 changed files with 4 additions and 4 deletions
|
@ -5,16 +5,16 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Rounds down (floors) the top left X and Y co-ordinates of the given Rectangle to the largest integer less than or equal to them
|
||||
* Rounds down (floors) the top left X and Y coordinates of the given Rectangle to the largest integer less than or equal to them
|
||||
*
|
||||
* @function Phaser.Geom.Rectangle.Floor
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @generic {Phaser.Geom.Rectangle} O - [rect,$return]
|
||||
*
|
||||
* @param {Phaser.Geom.Rectangle} rect - The rectangle to floor the top left X and Y co-ordinates of
|
||||
* @param {Phaser.Geom.Rectangle} rect - The rectangle to floor the top left X and Y coordinates of
|
||||
*
|
||||
* @return {Phaser.Geom.Rectangle} The rectangle that was passed to this function with its co-ordinates floored.
|
||||
* @return {Phaser.Geom.Rectangle} The rectangle that was passed to this function with its coordinates floored.
|
||||
*/
|
||||
var Floor = function (rect)
|
||||
{
|
||||
|
|
|
@ -2112,7 +2112,7 @@ var Tilemap = new Class({
|
|||
},
|
||||
|
||||
/**
|
||||
* Sets a collision callback for the given rectangular area (in tile coordindates) within the layer.
|
||||
* Sets a collision callback for the given rectangular area (in tile coordinates) within the layer.
|
||||
* If a callback is already set for the tile index it will be replaced. Set the callback to null to
|
||||
* remove it.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue