/// <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); }
/// <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);