Exemplo n.º 1
0
 public void unregister(PlanetariaActor observer)
 {
     if (this.observers.Contains(observer))
     {
         observers.Remove(observer);
         foreach (PlanetariaCollider field in current_fields)
         {
             observer.exit_field(field);
         }
         foreach (BlockCollision collision in current_collisions)
         {
             observer.exit_block(collision);
         }
     }
 }
Exemplo n.º 2
0
 public void unregister(PlanetariaActor listener)
 {
     observer.unregister(listener);
 }