|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSteeringStuff.RaycastingManager
public class RaycastingManager
This class provides the rays of the bot in the navigation layer. The rays could be changed more times (actually two steerings use rays).
Field Summary | |
---|---|
Raycasting |
raycasting
|
Constructor Summary | |
---|---|
RaycastingManager(UT2004Bot botself,
Raycasting raycasting)
Creates the new RaycastingManager of the botself with the raycasting module. |
Method Summary | |
---|---|
void |
addRayFlagChangedListener(SteeringType type,
IRaysFlagChanged listener)
Adds new ISteeringPropertiesChangedListener - he will listen for changes in some steering properties. |
void |
addRays(SteeringType type,
LinkedList<SteeringRay> rayList,
IRaysFlagChanged listener)
Adds rays of the type. |
HashMap<String,Future<AutoTraceRay>> |
getMyFutureRays(SteeringType type)
Returns the futureRays of the type. |
void |
notifyRayFlagChangedListeners()
Notify the listneres, that the steering properties were changed. |
boolean |
raysAreReady()
Returns whether the rays are ready (the flag of getAllRaysInitialized). |
void |
removeRays(SteeringType type)
The rays of the type will be removed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Raycasting raycasting
Constructor Detail |
---|
public RaycastingManager(UT2004Bot botself, Raycasting raycasting)
Method Detail |
---|
public void addRayFlagChangedListener(SteeringType type, IRaysFlagChanged listener)
public void notifyRayFlagChangedListeners()
public void addRays(SteeringType type, LinkedList<SteeringRay> rayList, IRaysFlagChanged listener)
public void removeRays(SteeringType type)
public HashMap<String,Future<AutoTraceRay>> getMyFutureRays(SteeringType type)
public boolean raysAreReady()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |