Exemplo n.º 1
0
 public static float Distance(TilePosition from, TilePosition to)
 {
     return((from - to).Magnitude);
 }
Exemplo n.º 2
0
 public bool Equals(TilePosition other)
 {
     return(x == other.x && y == other.y);
 }