|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeud.testgame.view.LevelEntityListener
A collision listener that listens if a something has hit the level structure. In this example, this is limited to bullets and used for drawing decals.
Constructor Summary | |
LevelEntityListener(DecalManager decalMan)
Creates a new listener. |
Method Summary | |
void |
collision(com.threed.jpct.CollisionEvent e)
Triggered if something hits the level structure. |
boolean |
requiresPolygonIDs()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LevelEntityListener(DecalManager decalMan)
decalMan
- the decal managerMethod Detail |
public boolean requiresPolygonIDs()
requiresPolygonIDs
in interface com.threed.jpct.CollisionListener
public void collision(com.threed.jpct.CollisionEvent e)
collision
in interface com.threed.jpct.CollisionListener
e
- CollisionEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |