zombie
Class PathfindManager

java.lang.Object
  extended by zombie.PathfindManager

public class PathfindManager
extends java.lang.Object

Author:
LEMMY

Nested Class Summary
 class PathfindManager.PathfindJob
           
 class PathfindManager.PathfindThread
           
 
Field Summary
 int Current
           
static int Failed
           
 PathfindManager.PathfindJob HighestJob
           
static float HighestPathTime
           
static PathfindManager instance
           
 int maxInBatch
           
 int MaxThreads
           
 gnu.trove.map.hash.THashMap<java.lang.String,java.lang.Float> Pathfind
           
static int Succeeded
           
static float SurvivorPathTime
           
 PathfindManager.PathfindThread[] threads
           
static float ZombiePathTime
           
 
Constructor Summary
PathfindManager()
           
 
Method Summary
 void AddJob(IPathfinder pathfinder, Mover mover, int sx, int sy, int sz, int tx, int ty, int tz)
           
 void AddJob(IPathfinder pathfinder, Mover mover, int sx, int sy, int sz, int tx, int ty, int tz, boolean bDoClosest)
           
 boolean allPaused()
           
 void DoDebugJob(int sx, int sy, int sz, int tx, int ty, int tz)
           
 AStarPathFinder getFinder()
           
 void init()
           
 void reset()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static PathfindManager 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 gnu.trove.map.hash.THashMap<java.lang.String,java.lang.Float> Pathfind

HighestPathTime

public static float HighestPathTime

HighestJob

public PathfindManager.PathfindJob HighestJob

threads

public PathfindManager.PathfindThread[] threads
Constructor Detail

PathfindManager

public PathfindManager()
Method Detail

allPaused

public boolean allPaused()

getFinder

public AStarPathFinder getFinder()

DoDebugJob

public void DoDebugJob(int sx,
                       int sy,
                       int sz,
                       int tx,
                       int ty,
                       int tz)

reset

public void reset()

stop

public void stop()

init

public void init()

AddJob

public void AddJob(IPathfinder pathfinder,
                   Mover mover,
                   int sx,
                   int sy,
                   int sz,
                   int tx,
                   int ty,
                   int tz)

AddJob

public void AddJob(IPathfinder pathfinder,
                   Mover mover,
                   int sx,
                   int sy,
                   int sz,
                   int tx,
                   int ty,
                   int tz,
                   boolean bDoClosest)