Interface IPathProvider

All Superinterfaces:
ExtraInfoProvider
All Known Implementing Classes:
PathProvider

public interface IPathProvider extends ExtraInfoProvider
Created on 31/08/2018
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reset path provider so that hasPath() will return false
    IPath<? extends IPathWaypoint>
    Returns the provided path, or null if no path is contained
     
    boolean
    Returns whether this provider has a path
  • Method Details

    • hasPath

      boolean hasPath()
      Returns whether this provider has a path
      Returns:
      whether the provider has a path
    • getPath

      @Nullable IPath<? extends IPathWaypoint> getPath()
      Returns the provided path, or null if no path is contained
      Returns:
      the path
    • clear

      void clear()
      Reset path provider so that hasPath() will return false
    • getType

      @Nonnull default Class<IPathProvider> getType()
      Specified by:
      getType in interface ExtraInfoProvider