Class BroadPhase
java.lang.Object
com.codename1.gaming.physics.box2d.collision.broadphase.BroadPhase
- All Implemented Interfaces:
TreeCallback
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidbufferMove(int proxyId) final intcreateProxy(AABB aabb, Object userData) final voiddestroyProxy(int proxyId) voidgetFatAABB(int proxyId) final intintfinal intfloatgetUserData(int proxyId) final voidfinal voidquery(TreeCallback callback, AABB aabb) final voidraycast(TreeRayCastCallback callback, RayCastInput input) booleantestOverlap(int proxyIdA, int proxyIdB) voidtouchProxy(int proxyId) final booleantreeCallback(int proxyId) protected final voidunbufferMove(int proxyId) final voidupdatePairs(PairCallback callback)
-
Field Details
-
NULL_PROXY
public static final int NULL_PROXY- See Also:
-
-
Constructor Details
-
BroadPhase
-
-
Method Details
-
createProxy
-
destroyProxy
public final void destroyProxy(int proxyId) -
moveProxy
-
touchProxy
public void touchProxy(int proxyId) -
getUserData
-
getFatAABB
-
testOverlap
public boolean testOverlap(int proxyIdA, int proxyIdB) -
getProxyCount
public final int getProxyCount() -
drawTree
-
updatePairs
-
query
-
raycast
-
getTreeHeight
public final int getTreeHeight() -
getTreeBalance
public int getTreeBalance() -
getTreeQuality
public float getTreeQuality() -
bufferMove
protected final void bufferMove(int proxyId) -
unbufferMove
protected final void unbufferMove(int proxyId) -
treeCallback
public final boolean treeCallback(int proxyId) - Specified by:
treeCallbackin interfaceTreeCallback
-