|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSGPhysics.PointAttractor
public class PointAttractor
| Field Summary | |
|---|---|
int |
active
|
float |
mass
|
Tuple.Tuple3f |
pos
|
| Constructor Summary | |
|---|---|
PointAttractor(Tuple.Tuple3f pos,
float mass,
PhysicsEngine PE)
Creates a new instance of LinearForce |
|
| Method Summary | |
|---|---|
void |
apply(DynamicBody body)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Tuple.Tuple3f pos
public int active
public float mass
| Constructor Detail |
|---|
public PointAttractor(Tuple.Tuple3f pos,
float mass,
PhysicsEngine PE)
| Method Detail |
|---|
public void apply(DynamicBody body)
apply in interface Force
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||