public void Copy(PatrolObject _object) { if (_object == null) { return; } base.Copy(_object); Waypoints.Copy(_object.Waypoints); IsTransitPoint = _object.IsTransitPoint; DurationOfStay = _object.DurationOfStay; BehaviourModeTravel = _object.BehaviourModeTravel; BehaviourModePatrol = _object.BehaviourModePatrol; BehaviourModeLeisure = _object.BehaviourModeLeisure; BehaviourModeRendezvous = _object.BehaviourModeRendezvous; }
public PatrolObject(PatrolObject _object) : base(_object) { Copy(_object); }