public void Copy(WaypointList _object) { if (_object == null) { return; } Foldout = _object.Foldout; Identifier = _object.Identifier; Order = _object.Order; Ascending = _object.Ascending; Waypoints.Clear(); foreach (WaypointObject _waypoint in _object.Waypoints) { Waypoints.Add(new WaypointObject(_waypoint)); } }
public WaypointList(WaypointList _object) { Copy(_object); }