UNPKG

arcade-physics

Version:
19 lines 691 B
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 two rectangles. * * @function Phaser.Geom.Rectangle.Equals * @since 3.0.0 * * @param {Phaser.Geom.Rectangle} rect - Rectangle A * @param {Phaser.Geom.Rectangle} toCompare - Rectangle B * * @return {boolean} `true` if the rectangles' properties are an exact match, otherwise `false`. */ declare function Equals(rect: Phaser.Geom.Rectangle, toCompare: Phaser.Geom.Rectangle): boolean; //# sourceMappingURL=Equals.d.ts.map