Module screeps::pathfinder
source · Expand description
Manually accessing the PathFinder API
This contains functionality from the PathFinder object in Screeps, which
is itself a binding to a C++ Jump-Point Search pathfinding algorithm
optimized for Screeps.
This is both more fine-grained and less automatic than other pathing
methods, such as Room::find_path. PathFinder knows about terrain
by default, but you must configure any other obstacles you want it to
consider.
Structs
- Object that represents a set of options for a call to [
PathFinder::search]. - Interfaces for calling the default Screeps
PathFinder. - An object representing the results of a [
PathFinder::search].