Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Line

<static> Equals(line, toCompare)

Description:

Compare two lines for strict equality.

Parameters:

name type description
line Phaser.Geom.Line

The first line to compare.

toCompare Phaser.Geom.Line

The second line to compare.

Returns:
Description:

Whether the two lines are equal.

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