feud.testgame.view
Class ClientObjectCollisionListener

java.lang.Object
  extended byfeud.testgame.view.ClientObjectCollisionListener
All Implemented Interfaces:
com.threed.jpct.CollisionListener

public class ClientObjectCollisionListener
extends java.lang.Object
implements com.threed.jpct.CollisionListener

A listener that gets called if a player's bullet has hit another, remote player's model.


Constructor Summary
ClientObjectCollisionListener(LocalBulletManager lbm, LocalObject obj)
          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

ClientObjectCollisionListener

public ClientObjectCollisionListener(LocalBulletManager lbm,
                                     LocalObject obj)
Create a new Listener

Parameters:
lbm - the local bullet manager that manages all bullets that "belong" to this client.
obj - the local object of the remote player's model
Method Detail

requiresPolygonIDs

public boolean requiresPolygonIDs()
Specified by:
requiresPolygonIDs in interface com.threed.jpct.CollisionListener

collision

public void collision(com.threed.jpct.CollisionEvent ce)
Specified by:
collision in interface com.threed.jpct.CollisionListener