Exemplo n.º 1
0
 public void DeregisterUpdateableObject(IUpdateableObject obj)
 {
     if (_updateableObjects.Contains(obj))
     {
         _updateableObjects.Remove(obj);
     }
 }
Exemplo n.º 2
0
 public void RegisterUpdateableObject(IUpdateableObject obj)
 {
     if (!_updateableObjects.Contains(obj))
     {
         _updateableObjects.Add(obj);
     }
 }