Package me.wobblyyyy.pathfinder.finders
Interface Generator
- All Known Implementing Classes:
LightningFinder
,SpeedFinder
,Xygum
public interface Generator
Interface used for connecting different types of path generation.
Generators are essentially little tiny itsy bitsy pathfinders. In order to give the end user more control over the operation of this library, there are several different generators that can be used.
Generators shouldn't be toggled on/off during runtime - the pathfinder configuration should determine which generators are to be used during the pathfinder's operation.
- Since:
- 0.1.0
- Author:
- Colin Robertson
-
Method Summary
Modifier and Type Method Description me.wobblyyyy.edt.DynamicArray<Point>
getCoordinatePath(Point start, Point end)
Get a path, from a start coordinate to an end coordinate, that's directly readable by our implementation of the pathfinding system.
-
Method Details
-
getCoordinatePath
Get a path, from a start coordinate to an end coordinate, that's directly readable by our implementation of the pathfinding system.- Parameters:
start
- the start coordinate.end
- the end coordinate.- Returns:
- a group, composed of individual Point items.
-