|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeud.testgame.view.BulletCollisionListener
A collision listener for bullets. This listener is used to detect collisions of bullets with obstacles like walls and similar. As it does is to flag these bullets as "collided" so that they can be removed later.
Constructor Summary | |
BulletCollisionListener(LocalBullet bullet)
Create a new listener. |
Method Summary | |
void |
collision(com.threed.jpct.CollisionEvent ce)
|
boolean |
requiresPolygonIDs()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BulletCollisionListener(LocalBullet bullet)
bullet
- the local bullet object that represents this bullet on the server and other clients.Method Detail |
public boolean requiresPolygonIDs()
requiresPolygonIDs
in interface com.threed.jpct.CollisionListener
public void collision(com.threed.jpct.CollisionEvent ce)
collision
in interface com.threed.jpct.CollisionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |