Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Circle

<static> Equals(circle, toCompare)

Description:

Compares the x, y and radius properties of the two given Circles. Returns true if they all match, otherwise returns false.

Parameters:

name type description
circle Phaser.Geom.Circle

The first Circle to compare.

toCompare Phaser.Geom.Circle

The second Circle to compare.

Returns:
Description:

true if the two Circles equal each other, otherwise false.

Type:
  • boolean
Since: 3.0.0
Source: src/geom/circle/Equals.js (Line 7)