arcade-physics
Version:
Use Arcade Physics without Phaser.
20 lines • 783 B
TypeScript
export default Equals;
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* Compares the `x`, `y`, `width` and `height` properties of the two given Ellipses.
* Returns `true` if they all match, otherwise returns `false`.
*
* @function Phaser.Geom.Ellipse.Equals
* @since 3.0.0
*
* @param {Phaser.Geom.Ellipse} ellipse - The first Ellipse to compare.
* @param {Phaser.Geom.Ellipse} toCompare - The second Ellipse to compare.
*
* @return {boolean} `true` if the two Ellipse equal each other, otherwise `false`.
*/
declare function Equals(ellipse: Phaser.Geom.Ellipse, toCompare: Phaser.Geom.Ellipse): boolean;
//# sourceMappingURL=Equals.d.ts.map