public override int GetHashCode() { unchecked { return(((Chunk != null ? Chunk.GetHashCode() : 0) * 397) ^ GridPosition.GetHashCode()); } }
/// <summary> /// Gets the hashcode /// </summary> /// <returns></returns> public override int GetHashCode() { return(GridPosition.GetHashCode() ^ 63 * BlockType.GetHashCode() ^ 127); }