/// <inheritdoc /> public override int GetHashCode() { unchecked { return((Position.GetHashCode() * 397) ^ MapId.GetHashCode()); } }
/// <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); } }