Example #1
0
 /// <summary>
 /// Adds a CollisionEvent to this handler's internal list.  These
 /// will get handled at the end of the current time step.
 /// </summary>
 /// <param name="e"></param>
 protected internal virtual void InternalPushCollisionEvent(CollisionEvent e)
 {
     pendingCollisionEvents.Add(e);
 }
Example #2
0
 /// <summary>
 /// Called once for each pending CollisionEvent.  This is always
 /// called at the end of every time step so CollisionEvents
 /// get handled right away.
 /// </summary>
 /// <param name="e"></param>
 public abstract void HandleCollisionEvent(CollisionEvent e);