コード例 #1
0
        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;
        }
コード例 #2
0
 public PatrolObject(PatrolObject _object) : base(_object)
 {
     Copy(_object);
 }