|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.joode.graphics2D.CollisionView
public class CollisionView
| Constructor Summary | |
|---|---|
CollisionView(CollisionManager manager)
|
|
| Method Summary | |
|---|---|
boolean |
allowCollision(JointContact cj)
notifies the listener of an occuring collision |
void |
draw(java.awt.Graphics2D g)
|
void |
reset()
notifies listener that all collision information has been cleared |
void |
setCollisionManager(CollisionManager manager)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollisionView(CollisionManager manager)
| Method Detail |
|---|
public void setCollisionManager(CollisionManager manager)
public void draw(java.awt.Graphics2D g)
draw in interface Drawable2Dpublic boolean allowCollision(JointContact cj)
CollisionListener
allowCollision in interface CollisionListenercj - the collison information prior to applying to the system
public void reset()
CollisionListener
reset in interface CollisionListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||