org.jbox2d.testbed.tests
Class Smasher

java.lang.Object
  extended by PTest
      extended by org.jbox2d.testbed.tests.Smasher

public class Smasher
extends PTest


Field Summary
static float brakeTorque
           
static float punchForce
           
static float punchLimit
           
 boolean punchRight
           
static float punchSpeed
           
static float speed
           
static float torque
           
 
Constructor Summary
Smasher()
           
 
Method Summary
protected  void checkKeys()
           
 void go(World world)
           
static void main(java.lang.String[] argv)
          Entry point
protected  void preStep()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

speed

public static final float speed
See Also:
Constant Field Values

torque

public static final float torque
See Also:
Constant Field Values

brakeTorque

public static final float brakeTorque
See Also:
Constant Field Values

punchSpeed

public static final float punchSpeed
See Also:
Constant Field Values

punchForce

public static final float punchForce
See Also:
Constant Field Values

punchLimit

public static final float punchLimit
See Also:
Constant Field Values

punchRight

public boolean punchRight
Constructor Detail

Smasher

public Smasher()
Method Detail

go

public void go(World world)

preStep

protected void preStep()

checkKeys

protected void checkKeys()

main

public static void main(java.lang.String[] argv)
Entry point