Creates a line curve from the previous end point to x/y.
name | type | arguments | description |
---|---|---|---|
x | number | Phaser.Math.Vector2 | Phaser.Types.Math.Vector2Like |
The X coordinate of the line's end point, or a |
|
y | number | <optional> |
The Y coordinate of the line's end point, if a number was passed as the X parameter. |
This Path object.