Example #1
0
 public void RemoveBehavior(MetsBehavior behavior)
 {
     if (behaviorList.Contains(behavior))
     {
         behaviorList.Remove(behavior);
     }
 }
Example #2
0
 public void AddBehavior(MetsBehavior behavior)
 {
     if (!behaviorList.Contains(behavior))
     {
         behaviorList.Add(behavior);
     }
 }
Example #3
0
 public void RemoveBehavior(MetsBehavior behavior) { if (behaviorList.Contains(behavior)) behaviorList.Remove(behavior); }
Example #4
0
 public void AddBehavior(MetsBehavior behavior) { if (!behaviorList.Contains(behavior)) behaviorList.Add(behavior); }