UNPKG

arcade-physics

Version:
16 lines 573 B
export default Random; /** * Returns a random point on a given Line. * * @function Phaser.Geom.Line.Random * @since 3.0.0 * * @generic {Phaser.Geom.Point} O - [out,$return] * * @param {Phaser.Geom.Line} line - The Line to calculate the random Point on. * @param {(Phaser.Geom.Point|object)} [out] - An instance of a Point to be modified. * * @return {(Phaser.Geom.Point|object)} A random Point on the Line. */ declare function Random(line: Phaser.Geom.Line, out?: (Phaser.Geom.Point | object)): (Phaser.Geom.Point | object); //# sourceMappingURL=Random.d.ts.map