Esempio n. 1
0
 // detach the first occurance of actor in the list
 public void detachActor(Actor pActor)
 {
     actors.Remove(pActor);
 }
Esempio n. 2
0
 // if list does not contain the actor, insert the actor into the list
 public void attachActor( Actor pActor )
 {
     if (!actors.Contains(pActor))
     {
         actors.Add(pActor);
     }
 }