public class UDKAStarPathPlanner extends Object implements IPathPlanner<ILocated>
Returns UDKAStarPathFuture that contains the logic for obtaining the path from UDK (note that it takes
some time then UDK sends you a path).
IMPORTANT: Due to restrictions of the UnrealScript path planner this implementation returns only paths of maximal length 16.
Therefore returned path may end on the half way trough. Therefore, whenever the IPathExecutor reports that
the bot has reached its target, you should compare bot's current position and the PathFuture.getPathTo().
| Constructor and Description |
|---|
UDKAStarPathPlanner(UDKBot bot) |
public UDKAStarPathPlanner(UDKBot bot)
public IPathFuture<ILocated> computePath(ILocated from, ILocated to)
computePath in interface IPathPlanner<ILocated>Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.