예제 #1
0
        public override bool Equals(object obj)
        {
            DrawnPowerNode node = obj as DrawnPowerNode;

            if (node == null)
            {
                return(false);
            }
            return(Equals(node));
        }
예제 #2
0
 public bool Equals(DrawnPowerNode other)
 {
     return(other.Power == Power);
 }