|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--game.movement.CollisionManager
Class to manage collisions between opposed units moving in opposite directions.
| Constructor Summary | |
CollisionManager()
|
|
| Method Summary | |
static boolean |
hasCollisions()
Return whether any collisons have occurred. |
static java.lang.String |
listCollisions()
List collisions (for debugging). |
static void |
mediate()
Mediate all the possible collisions. |
static void |
reset()
Reset the collision list. |
static void |
save(MovementOrder.SingleMovement order)
Save a collision order. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CollisionManager()
| Method Detail |
public static void reset()
public static void save(MovementOrder.SingleMovement order)
public static java.lang.String listCollisions()
public static boolean hasCollisions()
public static void mediate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||