예제 #1
0
        public override bool Equals(object obj)
        {
            FDPosition another = (FDPosition)obj;

            return(X == another.X && Y == another.Y);
        }
예제 #2
0
 public static bool AreSame(FDPosition pos1, FDPosition pos2)
 {
     return(pos1.X == pos2.X && pos1.Y == pos2.Y);
 }