org.concord.collisions.engine
Class CCSpring

java.lang.Object
  |
  +--org.concord.collisions.engine.CCSpring

public class CCSpring
extends java.lang.Object


Field Summary
 double kx
           
 double ky
           
 double needAngle
           
 double needX
           
 
Constructor Summary
CCSpring()
           
CCSpring(double needX, double needAngle)
           
 
Method Summary
 void drawSpring(java.awt.Graphics g, float xc, float yc)
           
 void setSpringParam(double needX, double needAngle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

needX

public double needX

needAngle

public double needAngle

kx

public double kx

ky

public double ky
Constructor Detail

CCSpring

public CCSpring()

CCSpring

public CCSpring(double needX,
                double needAngle)
Method Detail

setSpringParam

public void setSpringParam(double needX,
                           double needAngle)

drawSpring

public void drawSpring(java.awt.Graphics g,
                       float xc,
                       float yc)