Share via


GCPoint2.Equals Method

Definition

Overloads

Name Description
Equals(GCPoint2)

Specifies whether this GCPoint2 contains the same coordinates as the specified GCPoint2.

Equals(Object)

Specifies whether this GCPoint2 contains the same coordinates as the specified Object.

Equals(GCPoint2)

Specifies whether this GCPoint2 contains the same coordinates as the specified GCPoint2.

public bool Equals(GameController.GCPoint2 point);
override this.Equals : GameController.GCPoint2 -> bool

Parameters

point
GCPoint2

The GCPoint2 to compare with this object.

Returns

true if point has the same coordinates as this point, otherwise false.

Implements

Applies to

Equals(Object)

Specifies whether this GCPoint2 contains the same coordinates as the specified Object.

public override bool Equals(object? obj);
override this.Equals : obj -> bool

Parameters

obj
Object

The Object to compare with this object.

Returns

true if obj is a GCPoint2 with the same coordinates as this point, otherwise false.

Applies to