-
- All Superinterfaces:
Listener
- All Known Implementing Classes:
ConvexCastAdapter
@Deprecated public interface ConvexCastListener extends Listener
Deprecated.Deprecated in 4.0.0. Use the iterator methods in the World class instead.Interface to listen for convex cast events.Modification of the
World
is not permitted during these methods.By default all methods should return true.
- Since:
- 3.1.5
- Version:
- 4.0.0
- Author:
- William Bittle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
allow(Convex convex, Body body, BodyFixture fixture)
Deprecated.Called before the given fixture is cast against.boolean
allow(Convex convex, Body body, BodyFixture fixture, TimeOfImpact toi)
Deprecated.Called after the given fixture has been cast against and a collision was detected.
-
-
-
Method Detail
-
allow
boolean allow(Convex convex, Body body, BodyFixture fixture)
Deprecated.Called before the given fixture is cast against.Returning true from this method indicates that the cast should be performed.
Use this method to filter fixtures from the tests to improve performance.
- Parameters:
convex
- the convex being castbody
- the bodyfixture
- the body fixture- Returns:
- boolean true if the body should be tested
-
allow
boolean allow(Convex convex, Body body, BodyFixture fixture, TimeOfImpact toi)
Deprecated.Called after the given fixture has been cast against and a collision was detected.Returning true from this method indicates that this time of impact result should be used by the final result.
- Parameters:
convex
- the convex being castbody
- the bodyfixture
- the body fixturetoi
- the time of impact- Returns:
- boolean true if the body should be tested
-
-