public class PhysicsCollisionEventFactory
extends java.lang.Object
Constructor and Description |
---|
PhysicsCollisionEventFactory() |
Modifier and Type | Method and Description |
---|---|
PhysicsCollisionEvent |
getEvent(int type,
PhysicsCollisionObject source,
PhysicsCollisionObject nodeB,
long manifoldPointObjectId)
Obtain an unused event.
|
void |
recycle(PhysicsCollisionEvent event)
Recycle the specified event.
|
public PhysicsCollisionEvent getEvent(int type, PhysicsCollisionObject source, PhysicsCollisionObject nodeB, long manifoldPointObjectId)
public void recycle(PhysicsCollisionEvent event)
event
-