Package zombie
Class PathfindManager
java.lang.Object
zombie.PathfindManager
public class PathfindManager
extends java.lang.Object
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classPathfindManager.PathfindJobclassPathfindManager.PathfindThread
- 
Field SummaryFields Modifier and Type Field Description intCurrentstatic intFailedPathfindManager.PathfindJobHighestJobstatic floatHighestPathTimestatic PathfindManagerinstanceintmaxInBatchintMaxThreadsjava.util.HashMapPathfindstatic intSucceededstatic floatSurvivorPathTimePathfindManager.PathfindThread[]threadsstatic floatZombiePathTime
- 
Constructor SummaryConstructors Constructor Description PathfindManager()
- 
Method SummaryModifier and Type Method Description voidabortJob(Mover mover)voidAddJob(IPathfinder pathfinder, Mover mover, int sx, int sy, int sz, int tx, int ty, int tz)voidAddJob(IPathfinder pathfinder, Mover mover, int sx, int sy, int sz, int tx, int ty, int tz, boolean bDoClosest)booleanallPaused()voidDoDebugJob(int sx, int sy, int sz, int tx, int ty, int tz)AStarPathFindergetFinder()voidinit()voidpause()voidreset()voidresume()voidstop()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
instance
- 
MaxThreadspublic int MaxThreads
- 
Currentpublic int Current
- 
maxInBatchpublic int maxInBatch
- 
Failedpublic static int Failed
- 
Succeededpublic static int Succeeded
- 
ZombiePathTimepublic static float ZombiePathTime
- 
SurvivorPathTimepublic static float SurvivorPathTime
- 
Pathfindpublic java.util.HashMap Pathfind
- 
HighestPathTimepublic static float HighestPathTime
- 
HighestJob
- 
threads
 
- 
- 
Constructor Details- 
PathfindManagerpublic PathfindManager()
 
- 
- 
Method Details- 
allPausedpublic boolean allPaused()
- 
getFinder
- 
DoDebugJobpublic void DoDebugJob(int sx, int sy, int sz, int tx, int ty, int tz)
- 
resetpublic void reset()
- 
stoppublic void stop()
- 
initpublic void init()
- 
AddJobpublic void AddJob(IPathfinder pathfinder, Mover mover, int sx, int sy, int sz, int tx, int ty, int tz)
- 
AddJobpublic void AddJob(IPathfinder pathfinder, Mover mover, int sx, int sy, int sz, int tx, int ty, int tz, boolean bDoClosest)
- 
abortJob
- 
pausepublic void pause()
- 
resumepublic void resume()
 
-