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