public interface CollisionListener
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
collision(CollisionEvent ce)
This method will be called in case of a collision.
|
boolean |
requiresPolygonIDs()
If the listener needs information about which polygons were affected by
the collision, this method has to return true.
|
void collision(CollisionEvent ce)
ce
- the CollisionEventCollisionEvent
boolean requiresPolygonIDs()