コード例 #1
0
 public bool IsEqualTo(AxialCoordinates other) => other.Q == Q && other.R == R;
コード例 #2
0
 public int DistanceTo(AxialCoordinates other) => Math.Abs(Q - other.Q) + Math.Abs(R - other.R);