public JpsPathfindingJob(double maxTime,
                          PathfindingNode startNode,
                          PathfindingNode endNode,
                          PathfindingArgs pathfindingArgs,
                          CancellationToken cancellationToken) : base(maxTime, cancellationToken)
 {
     _startNode       = startNode;
     _endNode         = endNode;
     _pathfindingArgs = pathfindingArgs;
 }
Beispiel #2
0
 public AStarPathfindingJob(
     double maxTime,
     PathfindingNode startNode,
     PathfindingNode endNode,
     PathfindingArgs pathfindingArgs,
     CancellationToken cancellationToken,
     IEntityManager entityManager) : base(maxTime, cancellationToken)
 {
     _startNode       = startNode;
     _endNode         = endNode;
     _pathfindingArgs = pathfindingArgs;
     _entityManager   = entityManager;
 }