Exemple #1
0
 public void UnregisterObserver(AbstractSquadMsgDisplay observer)
 {
     if (this.observers.Contains(observer))
     {
         this.observers.Remove(observer);
     }
 }
Exemple #2
0
 public void RegisterObserver(AbstractSquadMsgDisplay observer)
 {
     if (this.observers.Contains(observer))
     {
         return;
     }
     this.observers.Add(observer);
 }