Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Point

<static> Equals(point, toCompare)

Description:

A comparison of two Point objects to see if they are equal.

Parameters:

name type description
point Phaser.Geom.Point

The original Point to compare against.

toCompare Phaser.Geom.Point

The second Point to compare.

Returns:
Description:

Returns true if the both Point objects are equal.

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