|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsim.physics2D.collisionDetection.CollisionDetectionEngine
public class CollisionDetectionEngine
The CollisionDetectionEngine coordinates and abstracts the collision detection logic.
Constructor Summary | |
---|---|
CollisionDetectionEngine()
|
Method Summary | |
---|---|
Bag |
getCollisions()
Returns a list of the pairs of objects currently colliding. |
void |
register(PhysicalObject2D objCol)
Registers an object with the collision detection engine. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollisionDetectionEngine()
Method Detail |
---|
public Bag getCollisions()
public void register(PhysicalObject2D objCol)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |