Package me.wobblyyyy.pathfinder.config
Class PathfinderConfigurationBuilder
java.lang.Object
me.wobblyyyy.pathfinder.config.PathfinderConfigurationBuilder
public class PathfinderConfigurationBuilder
extends java.lang.Object
Simple interface for creating Pathfinder configurations. Please note
that there's no documentation in this class. If you're confused about
the meaning of any of these fields, you can check out the (rather
bulky)
PathfinderConfig class, which explains everything
rather in-depth.
You should follow this order while building a pathfinder config.
newConfiguration(), then any of the following:
setFollowerType(Followers),
setDrive(Drive),
setOdometry(Odometry),
setMap(Map),
setSpeed(double), and then finally (this one has to be last)
you should call build().
- Since:
- 0.5.0
- Author:
- Colin Robertson
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description privatePathfinderConfigurationBuilder() -
Method Summary
Modifier and Type Method Description PathfinderConfigbuild()static PathfinderConfigurationBuildernewConfiguration()voidsetDrive(Drive _drive)voidsetFollowerType(Followers _followerType)voidsetMap(Map _map)voidsetOdometry(Odometry _odometry)voidsetSpeed(double _speed)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
followerType
-
drive
-
odometry
-
map
-
speed
private double speed
-
-
Constructor Details
-
PathfinderConfigurationBuilder
private PathfinderConfigurationBuilder()
-
-
Method Details
-
newConfiguration
-
setFollowerType
-
setDrive
-
setOdometry
-
setMap
-
setSpeed
public void setSpeed(double _speed) -
build
-