|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.math.SpringNodeForce
SpringNodeForce is an abstract class defining an external
force to be used with the SpringSystem class.
| Constructor Summary | |
SpringNodeForce()
|
|
| Method Summary | |
abstract void |
apply(float dt,
SpringNode node)
Apply the force defined by this class on a given node. |
boolean |
isEnabled()
Return whether or not this system is enabled. |
void |
setEnabled(boolean enabled)
Set this force enabled or not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SpringNodeForce()
| Method Detail |
public void setEnabled(boolean enabled)
enabled - booleanpublic boolean isEnabled()
public abstract void apply(float dt,
SpringNode node)
dt - amount of time since last apply call in ms.node - the node to apply the force to.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||