Table of Contents

Method Equals

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Equals(GridPoint2)

Compares this grid point with another grid point for equality. Two grid points are equal if their respective coordinates are equal.

public bool Equals(GridPoint2 other)

Parameters

other GridPoint2

The other.

Returns

bool

true if both points' x-coordinates are equal and their y-coordinates are equal, false otherwise.

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool