UNPKG

arcade-physics

Version:
16 lines 699 B
export default Random; /** * Returns a uniformly distributed random point from anywhere within the given Circle. * * @function Phaser.Geom.Circle.Random * @since 3.0.0 * * @generic {Phaser.Geom.Point} O - [out,$return] * * @param {Phaser.Geom.Circle} circle - The Circle to get a random point from. * @param {(Phaser.Geom.Point|object)} [out] - A Point or point-like object to set the random `x` and `y` values in. * * @return {(Phaser.Geom.Point|object)} A Point object with the random values set in the `x` and `y` properties. */ declare function Random(circle: Phaser.Geom.Circle, out?: (Phaser.Geom.Point | object)): (Phaser.Geom.Point | object); //# sourceMappingURL=Random.d.ts.map