org.jbox2d.testbed.tests
Class VerticalStack

java.lang.Object
  extended by org.jbox2d.testbed.AbstractExample
      extended by org.jbox2d.testbed.tests.VerticalStack

public class VerticalStack
extends AbstractExample


Field Summary
 
Fields inherited from class org.jbox2d.testbed.AbstractExample
black, blue, bombSpawning, bombSpawnPoint, cachedCamScale, cachedCamX, cachedCamY, followedBody, gray, green, hasCachedCamera, instructionString, keyDown, m_bomb, m_boundaryListener, m_contactListener, m_debugDraw, m_destructionListener, m_mouseJoint, m_pointCount, m_points, m_textLine, m_world, m_worldAABB, memFree, mouseScreen, mouseWorld, needsReset, newKeyDown, parent, pmousePressed, pmouseScreen, red, settings, textLineHeight, white
 
Constructor Summary
VerticalStack(TestbedMain parent)
           
 
Method Summary
 void create()
          Create the world geometry for each test.
 java.lang.String getExampleInstructions()
           
 java.lang.String getName()
           
 void postStep()
          Stub for overloading in examples - called after physics step
 
Methods inherited from class org.jbox2d.testbed.AbstractExample
boundaryViolated, completeBombSpawn, createWorld, initialize, jointDestroyed, keyPressed, keyReleased, launchBomb, launchBomb, mouseDown, mouseMove, mouseUp, preStep, printInstructions, setCamera, spawnBomb, step
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerticalStack

public VerticalStack(TestbedMain parent)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class AbstractExample
Returns:
Title of example

create

public void create()
Description copied from class: AbstractExample
Create the world geometry for each test. Any custom initialization for a test can usually go here. Called immediately after initialize(), which handles generic test initialization.

Specified by:
create in class AbstractExample

getExampleInstructions

public java.lang.String getExampleInstructions()
Overrides:
getExampleInstructions in class AbstractExample

postStep

public void postStep()
Description copied from class: AbstractExample
Stub for overloading in examples - called after physics step

Overrides:
postStep in class AbstractExample