- Object
-
- BroadphaseFilterAdapter<T,E>
-
- DefaultBroadphaseFilter<Body,BodyFixture>
-
- DetectBroadphaseFilter
-
- All Implemented Interfaces:
BroadphaseFilter<Body,BodyFixture>
@Deprecated public class DetectBroadphaseFilter extends DefaultBroadphaseFilter<Body,BodyFixture> implements BroadphaseFilter<Body,BodyFixture>
Deprecated.Deprecated in 4.0.0. Use the DetectBroadphaseFilter in the world package instead.Encapsulates logic used to filter the broadphase pairs based on filters, body state, etc.Extend this class to add additional filtering capabilities to the broad-phase.
- Since:
- 3.2.0
- Version:
- 4.0.0
- Author:
- William Bittle
-
-
Constructor Summary
Constructors Constructor Description DetectBroadphaseFilter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isAllowed(Body body1, BodyFixture fixture1, Body body2, BodyFixture fixture2)
Deprecated.Returns true if this result should be added to the results list.-
Methods inherited from class BroadphaseFilterAdapter
isAllowed, isAllowed
-
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface BroadphaseFilter
isAllowed, isAllowed
-
-
-
-
Method Detail
-
isAllowed
public boolean isAllowed(Body body1, BodyFixture fixture1, Body body2, BodyFixture fixture2)
Deprecated.Description copied from interface:BroadphaseFilter
Returns true if this result should be added to the results list.- Specified by:
isAllowed
in interfaceBroadphaseFilter<Body,BodyFixture>
- Overrides:
isAllowed
in classDefaultBroadphaseFilter<Body,BodyFixture>
- Parameters:
body1
- the firstCollisionBody
fixture1
- the firstCollisionBody
sFixture
body2
- the secondCollisionBody
fixture2
- the secondCollisionBody
sFixture
- Returns:
- boolean
-
-