Esempio n. 1
0
 public void OnApplicationQuit()
 {
     if (Destination != null)
     {
         Destination.Disconnect();
         Destination = null;
     }
 }
Esempio n. 2
0
 public void SetNewObject(GraspRegion target)
 {
     if (Destination != null && Destination != target)
     {
         Destination.Disconnect();
         Destination = null;
     }
     if (Destination == null)
     {
         Destination      = target;
         ArmTree          = new Tree();
         GoalTree         = new Tree();
         SolutionPathList = new SolutionList();
         //Destination.Connect(this);
     }
 }