rotate(x, y, angle, asDegrees, distance) → {Phaser.Point}
Rotates this Point around the x/y coordinates given to the desired angle.
Parameters
Name Type Argument Default Description x number The x coordinate of the anchor point. y number The y coordinate of the anchor point. angle number The angle in radians (unless asDegrees is true) to rotate the Point to. asDegrees boolean <optional> false Is the given angle in radians (false) or degrees (true)? distance numb