public void UnegisterForUpdates(Updateable updateable)
 {
     Updateables.Remove(updateable);
 }
 public void RegisterForUpdates(Updateable updateable)
 {
     Debug.Assert(!Updateables.Contains(updateable), "Trying to register an updateable that is already registered for updates.");
     Updateables.Add(updateable);
 }