コード例 #1
0
        //mxd. Addeed to make compiler a bit more happy...
        public override bool Equals(object obj)
        {
            if (object.Equals(obj, null))
            {
                return(false);
            }
            LinedefSide other = (LinedefSide)obj;

            return((this.line == other.line) && (this.front == other.front));
        }
コード例 #2
0
 /// <summary>
 /// This makes a copy of the linedef side.
 /// </summary>
 public LinedefSide(LinedefSide original)
 {
     // Initialize
     this.line  = original.line;
     this.front = original.front;
 }