Beispiel #1
0
 public void Copy(FellowPath toCopy)
 {
     this.checkpoints = new Queue<CheckPoint>();
     foreach (CheckPoint cp in toCopy.checkpoints)
     {
         this.checkpoints.Enqueue(cp.Clone());
     }
 }
Beispiel #2
0
 public FellowPath Clone()
 {
     FellowPath clone = new FellowPath();
     clone.Copy(this);
     return clone;
 }