/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = GridID.GetHashCode(); hashCode = (hashCode * 397) ^ Position.GetHashCode(); return(hashCode); } }
/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = MapIndex.GetHashCode(); hashCode = (hashCode * 397) ^ GridIndex.GetHashCode(); hashCode = (hashCode * 397) ^ GridIndices.GetHashCode(); hashCode = (hashCode * 397) ^ Tile.GetHashCode(); return(hashCode); } }