Module screeps::pathfinder [−][src]
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
CostMatrix | A |
LocalCostMatrix | |
SearchOptions | |
SearchResults |
Enums
MultiRoomCostResult | |
SingleRoomCostResult |
Traits
CostMatrixSet | |
HasLocalPosition | |
RoomCostResult |
Functions
search | Searches between a single origin and single goal. |
search_many | Searches between a single origin and multiple goals. |