public TravelWorld(TravelWorld travelWorld) { this._waterPlaces = new HashSet <int>(travelWorld._waterPlaces); this._fireWays = new HashSet <TravelEdge>(travelWorld._fireWays); this._graph = travelWorld._graph; }
public object Clone() { TravelWorld newWorld = new TravelWorld(this); return(newWorld); }