Beispiel #1
0
 /// <summary>
 /// If such handler is stored it will be removed from the list.
 /// </summary>
 /// <param name="eventHandler"></param>
 public virtual void RemoveGlobalCollisionEventHandler(CollisionEventProcessor eventHandler)
 {
     collisionEventHandlers.Remove(eventHandler);
 }
Beispiel #2
0
 /// <summary>
 /// Sets the Simulator's collision event handler.
 /// </summary>
 /// <param name="eventHandler">you need to clean it up yourself</param>
 public virtual void AddGlobalCollisionEventHandler(CollisionEventProcessor eventHandler)
 {
     collisionEventHandlers.Add(eventHandler);
 }