|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--KinematicSimulator.PhysicsStrategy
Abstract Physics Strategy class. All physics strategies will be called by applyPhysics(Vector). The vector contains entities. The physics strategy is responsible for updating the velocities of the objects in the vector.
| Constructor Summary | |
PhysicsStrategy()
|
|
| Method Summary | |
abstract void |
applyPhysics(java.util.Vector v)
|
abstract void |
setSize(int w,
int h)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PhysicsStrategy()
| Method Detail |
public abstract void applyPhysics(java.util.Vector v)
public abstract void setSize(int w,
int h)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||