|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectbot.PathFinderModule
public class PathFinderModule
| Field Summary | |
|---|---|
double |
currentTime
Current UT time. |
double |
jumpDelay
|
HashMap<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint> |
knownNavPoints
|
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
lastFollowPathLocation
We will check this in our navigation method if our path is still actual if not, we will request a new path |
double |
lastJumpTime
|
cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventListener<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.BeginMessage> |
myBegListener
Listener to Beg Message |
ArrayList<cz.cuni.amis.pogamut.base3d.worldview.object.ILocated> |
myPath
Here we store latest path we got from GameBots |
cz.cuni.amis.pogamut.base3d.worldview.object.Location |
nearestNavLocation
This is navigation point closest to our goalTarget |
boolean |
pathReceived
True if we have already received path to our latest goal |
boolean |
pathRequested
True if we have already requested path to our latest goal |
double |
pathRequestedTime
Time of our last path request |
int |
pathRerequestDelay
If we haven't received path in this time seconds, we will request it again |
| Method Summary | |
|---|---|
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location |
getNearestNavLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation)
Returns nearest navigation point to input location in the map. |
boolean |
goToLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation)
Goes to target location. |
boolean |
runAroundItemsInTheMap(ArrayList<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Item> newItemsToRunAround)
We will run around items received from the list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public HashMap<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.NavPoint> knownNavPoints
public ArrayList<cz.cuni.amis.pogamut.base3d.worldview.object.ILocated> myPath
public boolean pathRequested
public boolean pathReceived
public double pathRequestedTime
public int pathRerequestDelay
public cz.cuni.amis.pogamut.base3d.worldview.object.Location nearestNavLocation
public double lastJumpTime
public double jumpDelay
public cz.cuni.amis.pogamut.base3d.worldview.object.Location lastFollowPathLocation
public double currentTime
public cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEventListener<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.BeginMessage> myBegListener
| Method Detail |
|---|
protected cz.cuni.amis.pogamut.base3d.worldview.object.Location getNearestNavLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation)
targetLocation -
public boolean runAroundItemsInTheMap(ArrayList<cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Item> newItemsToRunAround)
newItemsToRunAround -
public boolean goToLocation(cz.cuni.amis.pogamut.base3d.worldview.object.Location targetLocation)
targetLocation -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||