Skip to content

Commit 1939efd

Browse files
committed
Copypaste typo
`Point.setTo(2, 2)` to `Point.set(2, 2)`
1 parent 5a91f85 commit 1939efd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geom/Point.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Phaser.Point.prototype = {
8787
/**
8888
* Sets the `x` and `y` values of this Point object to the given values.
8989
* If you omit the `y` value then the `x` value will be applied to both, for example:
90-
* `Point.setTo(2)` is the same as `Point.setTo(2, 2)`
90+
* `Point.set(2)` is the same as `Point.set(2, 2)`
9191
*
9292
* @method Phaser.Point#set
9393
* @param {number} x - The horizontal value of this point.

0 commit comments

Comments
 (0)