public override bool Equals(object obj) { FDPosition another = (FDPosition)obj; return(X == another.X && Y == another.Y); }
public static bool AreSame(FDPosition pos1, FDPosition pos2) { return(pos1.X == pos2.X && pos1.Y == pos2.Y); }