Uses of Interface
org.dyn4j.world.listener.CollisionListener
-
Packages that use CollisionListener Package Description org.dyn4j.world Package containing the dynamics engine.org.dyn4j.world.listener Package contains the listeners used in theCollisionWorld
andPhysicsWorld
classes to notify a user of events occurring in the engine. -
-
Uses of CollisionListener in org.dyn4j.world
Methods in org.dyn4j.world that return types with arguments of type CollisionListener Modifier and Type Method Description List<CollisionListener<T,E>>
AbstractCollisionWorld. getCollisionListeners()
List<CollisionListener<T,E>>
CollisionWorld. getCollisionListeners()
Returns an unmodifiable list of all the collision listeners registered to this world.Methods in org.dyn4j.world with parameters of type CollisionListener Modifier and Type Method Description boolean
AbstractCollisionWorld. addCollisionListener(CollisionListener<T,E> listener)
boolean
CollisionWorld. addCollisionListener(CollisionListener<T,E> listener)
Adds the givenCollisionListener
to this world.boolean
AbstractCollisionWorld. removeCollisionListener(CollisionListener<T,E> listener)
boolean
CollisionWorld. removeCollisionListener(CollisionListener<T,E> listener)
Removes the given collision listener from this world and returns true if it was removed. -
Uses of CollisionListener in org.dyn4j.world.listener
Classes in org.dyn4j.world.listener that implement CollisionListener Modifier and Type Class Description class
CollisionListenerAdapter<T extends CollisionBody<E>,E extends Fixture>
Convenience class for implementing theCollisionListener
interface.
-