|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.joode.WorldObject
net.java.dev.joode.force.Force
public abstract class Force
Only gravity subclasses are implemented at the moment. Do not extend yourself
| Field Summary |
|---|
| Fields inherited from class net.java.dev.joode.WorldObject |
|---|
data, tag, world |
| Constructor Summary | |
|---|---|
Force(World world)
|
|
| Method Summary | |
|---|---|
abstract void |
applyForce(Body body)
applies the force to a body that is in simulation, called by the stepper functions |
void |
destroy()
|
| Methods inherited from class net.java.dev.joode.WorldObject |
|---|
partialCloneWorldObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.java.dev.joode.SimState |
|---|
cloneState |
| Constructor Detail |
|---|
public Force(World world)
| Method Detail |
|---|
public void destroy()
destroy in class WorldObjectpublic abstract void applyForce(Body body)
body -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||