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 Details

    • followerType

      private Followers followerType
    • drive

      private Drive drive
    • odometry

      private Odometry odometry
    • map

      private Map map
    • speed

      private double speed
  • Constructor Details

    • PathfinderConfigurationBuilder

      private PathfinderConfigurationBuilder()
  • Method Details

    • newConfiguration

      public static PathfinderConfigurationBuilder newConfiguration()
    • setFollowerType

      public void setFollowerType​(Followers _followerType)
    • setDrive

      public void setDrive​(Drive _drive)
    • setOdometry

      public void setOdometry​(Odometry _odometry)
    • setMap

      public void setMap​(Map _map)
    • setSpeed

      public void setSpeed​(double _speed)
    • build

      public PathfinderConfig build()