19 lines
282 B
C#
19 lines
282 B
C#
namespace Giants.Core;
|
|
|
|
public record struct AxialCoords
|
|
{
|
|
public int Q { get; init; }
|
|
public int R { get; init; }
|
|
|
|
public AxialCoords(int Q, int R)
|
|
{
|
|
this.Q = Q;
|
|
this.R = R;
|
|
}
|
|
|
|
public AxialCoords()
|
|
{
|
|
Q = 0;
|
|
R = 0;
|
|
}
|
|
} |