Struct CellPosition
- Namespace
- NonoSharp
- Assembly
- NonoSharp.dll
A record containing a cell's position.
public readonly record struct CellPosition : IEquatable<CellPosition>
- Implements
- Inherited Members
Constructors
CellPosition(int, int)
Creates a CellPosition with the given coordinates.
public CellPosition(int x, int y)
Parameters
Fields
X
X-coordinate of a cell on the puzzle grid.
public readonly int X
Field Value
Y
Y-coordinate of a cell on the puzzle grid.
public readonly int Y
Field Value
Methods
ToString()
Returns a string in the form of "(X, Y)".
public override string ToString()
Returns
- string
String as above