Package jme3utilities.minie
Class ClassFilter
java.lang.Object
jme3utilities.minie.ClassFilter
- All Implemented Interfaces:
BulletDebugAppState.DebugAppStateFilter
A simple DebugAppStateFilter to select objects that are assignable to a
specific class. Instances are immutable.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
displayObject
(Object physicsObject) Test whether the specified physics object should be displayed/dumped.
-
Constructor Details
-
ClassFilter
Instantiate a filter for the specified class.- Parameters:
clazz
- the class to select
-
-
Method Details
-
displayObject
Test whether the specified physics object should be displayed/dumped.- Specified by:
displayObject
in interfaceBulletDebugAppState.DebugAppStateFilter
- Parameters:
physicsObject
- the joint or collision object to test (unaffected)- Returns:
- return true if physicsObject should be displayed/dumped, false if it shouldn't be
-