//public override GraphNode newNode(Point p) //{ // return new Room(p); //} public override object getVisited(GraphVisitor visitor) { return(visitor.visit(this)); }
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); }