public class DynamicTreeTest extends TestbedTest implements org.jbox2d.callbacks.TreeCallback, org.jbox2d.callbacks.TreeRayCastCallback
Modifier and Type | Class and Description |
---|---|
static class |
DynamicTreeTest.Actor |
BOMB_TAG, GROUND_BODY_TAG, m_textLine, m_world, MAX_CONTACT_POINTS, MOUSE_JOINT_TAG, points
Constructor and Description |
---|
DynamicTreeTest() |
Modifier and Type | Method and Description |
---|---|
void |
Action() |
void |
CreateProxy() |
void |
DestroyProxy() |
void |
GetRandomAABB(org.jbox2d.collision.AABB aabb) |
java.lang.String |
getTestName()
The name of the test
|
void |
initTest(boolean argDeserialized)
Initializes the current test
|
void |
keyPressed(char argKeyChar,
int argKeyCode) |
void |
MoveAABB(org.jbox2d.collision.AABB aabb) |
void |
MoveProxy() |
void |
Query() |
void |
RayCast() |
float |
raycastCallback(org.jbox2d.collision.RayCastInput input,
int proxyId) |
void |
step(TestbedSettings settings) |
boolean |
treeCallback(int proxyId) |
_load, _reset, _save, addTextLine, beginContact, completeBombSpawn, endContact, exit, getBomb, getCachedCameraPos, getCachedCameraScale, getContactPoints, getDebugDraw, getDefaultCameraPos, getDefaultCameraScale, getFilename, getGroundBody, getModel, getPointCount, getStepCount, getTag, getTag, getTag, getTag, getTag, getWorld, getWorldMouse, init, init, isDialogOnSaveLoadErrors, isHasCachedCamera, isSaveLoadEnabled, isUnsupported, jointDestroyed, keyReleased, lanchBomb, launchBomb, load, mouseDown, mouseMove, mouseUp, postSolve, preSolve, processBody, processFixture, processJoint, processShape, processWorld, queueKeyPressed, queueKeyReleased, queueMouseDown, queueMouseMove, queueMouseUp, queueShiftMouseDown, reset, save, setCachedCameraPos, setCachedCameraScale, setCamera, setDialogOnSaveLoadErrors, setHasCachedCamera, setTitle, shiftMouseDown, spawnBomb, update
public void initTest(boolean argDeserialized)
TestbedTest
initTest
in class TestbedTest
TestbedTest.initTest(boolean)
public void keyPressed(char argKeyChar, int argKeyCode)
keyPressed
in class TestbedTest
TestbedTest.keyPressed(char, int)
public void step(TestbedSettings settings)
step
in class TestbedTest
TestbedTest.step(org.jbox2d.testbed.framework.TestbedSettings)
public boolean treeCallback(int proxyId)
treeCallback
in interface org.jbox2d.callbacks.TreeCallback
public float raycastCallback(org.jbox2d.collision.RayCastInput input, int proxyId)
raycastCallback
in interface org.jbox2d.callbacks.TreeRayCastCallback
public void GetRandomAABB(org.jbox2d.collision.AABB aabb)
public void MoveAABB(org.jbox2d.collision.AABB aabb)
public void CreateProxy()
public void DestroyProxy()
public void MoveProxy()
public void Action()
public void Query()
public void RayCast()
public java.lang.String getTestName()
TestbedTest
getTestName
in class TestbedTest
TestbedTest.getTestName()
Copyright © 2012. All Rights Reserved.