示例#1
0
        //public override GraphNode newNode(Point p)
        //{
        //  return new Room(p);
        //}

        public override object getVisited(GraphVisitor visitor)
        {
            return(visitor.visit(this));
        }
示例#2
0
 virtual public object getVisited(GraphVisitor visitor)
 {
     return(visitor.visit(this));
 }
 //public override GraphNode newNode(Point p)
 //{
 //  return new Room(p);
 //}
 public override object getVisited(GraphVisitor visitor)
 {
     return visitor.visit(this);
 }
 public virtual object getVisited(GraphVisitor visitor)
 {
     return visitor.visit(this);
 }