public override int GetHashCode() { return base.GetHashCode() ^ YPosition.GetHashCode() ^ XPosition.GetHashCode(); }