public bool IsDiagonalNeighbor(ANode node) { Vector2 diff = TxPos - node.TxPos; return Math.Abs(diff.X) == 1 && Math.Abs(diff.Y) == 1; }