add(x, y) โ {Phaser.Point}
Adds the given x and y values to this Point.
Parameters
Name | Type | Description |
---|---|---|
x | number | The value to add to Point.x. |
y | number | The value to add to Point.y. |
Returns
This Point object. Useful for chaining method calls.
- Source code: geom/Point.js (Line 106)
Please login to continue.