Package zombie
Class PathfindManager
java.lang.Object
zombie.PathfindManager
public class PathfindManager
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PathfindManager.PathfindJob
class
PathfindManager.PathfindThread
-
Field Summary
Fields Modifier and Type Field Description int
Current
static int
Failed
PathfindManager.PathfindJob
HighestJob
static float
HighestPathTime
static PathfindManager
instance
int
maxInBatch
int
MaxThreads
java.util.HashMap
Pathfind
static int
Succeeded
static float
SurvivorPathTime
PathfindManager.PathfindThread[]
threads
static float
ZombiePathTime
-
Constructor Summary
Constructors Constructor Description PathfindManager()
-
Method Summary
Modifier and Type Method Description void
abortJob(Mover mover)
void
AddJob(IPathfinder iPathfinder, Mover mover, int int1, int int2, int int3, int int4, int int5, int int6)
void
AddJob(IPathfinder iPathfinder, Mover mover, int int1, int int2, int int3, int int4, int int5, int int6, boolean boolean1)
boolean
allPaused()
void
DoDebugJob(int int1, int int2, int int3, int int4, int int5, int int6)
AStarPathFinder
getFinder()
void
init()
void
pause()
void
reset()
void
resume()
void
stop()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
instance
-
MaxThreads
public int MaxThreads -
Current
public int Current -
maxInBatch
public int maxInBatch -
Failed
public static int Failed -
Succeeded
public static int Succeeded -
ZombiePathTime
public static float ZombiePathTime -
SurvivorPathTime
public static float SurvivorPathTime -
Pathfind
public java.util.HashMap Pathfind -
HighestPathTime
public static float HighestPathTime -
HighestJob
-
threads
-
-
Constructor Details
-
PathfindManager
public PathfindManager()
-
-
Method Details
-
allPaused
public boolean allPaused() -
getFinder
-
DoDebugJob
public void DoDebugJob(int int1, int int2, int int3, int int4, int int5, int int6) -
reset
public void reset() -
stop
public void stop() -
init
public void init() -
AddJob
public void AddJob(IPathfinder iPathfinder, Mover mover, int int1, int int2, int int3, int int4, int int5, int int6) -
AddJob
public void AddJob(IPathfinder iPathfinder, Mover mover, int int1, int int2, int int3, int int4, int int5, int int6, boolean boolean1) -
abortJob
-
pause
public void pause() -
resume
public void resume()
-