public void UnregisterObserver(AbstractSquadMsgDisplay observer) { if (this.observers.Contains(observer)) { this.observers.Remove(observer); } }
public void RegisterObserver(AbstractSquadMsgDisplay observer) { if (this.observers.Contains(observer)) { return; } this.observers.Add(observer); }