com.annahid.libs.artenus.physics
CollisionListener
Interface for classes that process physical collision events. An instance of this interface is
assigned to a
PhysicsSimulator using the
setCollisionListener method and on each collision, the onCollision method is
called on the listener with information relating to the collision. public interface CollisionListener
Method Summary
| Modifier and Type | Method and Description |
|---|---|
public void | onCollision(CollisionInfo info) Called whenever a collision happens in the physical world. |