mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Copypaste typo
`Point.setTo(2, 2)` to `Point.set(2, 2)`
This commit is contained in:
parent
5a91f85b1f
commit
1939efd1c1
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ Phaser.Point.prototype = {
|
|||
/**
|
||||
* Sets the `x` and `y` values of this Point object to the given values.
|
||||
* If you omit the `y` value then the `x` value will be applied to both, for example:
|
||||
* `Point.setTo(2)` is the same as `Point.setTo(2, 2)`
|
||||
* `Point.set(2)` is the same as `Point.set(2, 2)`
|
||||
*
|
||||
* @method Phaser.Point#set
|
||||
* @param {number} x - The horizontal value of this point.
|
||||
|
|
Loading…
Reference in a new issue