Contents
Class PathProvider
java.lang.Object
com.hypixel.hytale.server.npc.sensorinfo.PathProvider
- All Implemented Interfaces:
ExtraInfoProvider, IPathProvider
Created on 31/08/2018
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Reset path provider so that hasPath() will return falseIPath<? extends IPathWaypoint> getPath()Returns the provided path, or null if no path is containedbooleanhasPath()Returns whether this provider has a pathvoidsetPath(IPath<? extends IPathWaypoint> path) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IPathProvider
getType
-
Constructor Details
-
PathProvider
public PathProvider()
-
-
Method Details
-
setPath
-
clear
public void clear()Description copied from interface:IPathProviderReset path provider so that hasPath() will return false- Specified by:
clearin interfaceIPathProvider
-
hasPath
public boolean hasPath()Description copied from interface:IPathProviderReturns whether this provider has a path- Specified by:
hasPathin interfaceIPathProvider- Returns:
- whether the provider has a path
-
getPath
Description copied from interface:IPathProviderReturns the provided path, or null if no path is contained- Specified by:
getPathin interfaceIPathProvider- Returns:
- the path
-