Пример #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));
 }
Пример #3
0
 //public override GraphNode newNode(Point p)
 //{
 //  return new Room(p);
 //}
 public override object getVisited(GraphVisitor visitor)
 {
     return visitor.visit(this);
 }
Пример #4
0
 public virtual object getVisited(GraphVisitor visitor)
 {
     return visitor.visit(this);
 }