Class PathfinderResultImpl
java.lang.Object
de.bsommerfeld.pathetic.engine.result.PathfinderResultImpl
- All Implemented Interfaces:
de.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
public class PathfinderResultImpl
extends Object
implements de.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
-
Constructor Summary
ConstructorsConstructorDescriptionPathfinderResultImpl(de.bsommerfeld.pathetic.api.pathing.result.PathState pathState, de.bsommerfeld.pathetic.api.pathing.result.Path path) -
Method Summary
Modifier and TypeMethodDescriptionde.bsommerfeld.pathetic.api.pathing.result.PathgetPath()de.bsommerfeld.pathetic.api.pathing.result.PathStatebooleanbooleanboolean
-
Constructor Details
-
PathfinderResultImpl
public PathfinderResultImpl(de.bsommerfeld.pathetic.api.pathing.result.PathState pathState, de.bsommerfeld.pathetic.api.pathing.result.Path path)
-
-
Method Details
-
successful
public boolean successful()- Specified by:
successfulin interfacede.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
-
hasFailed
public boolean hasFailed()- Specified by:
hasFailedin interfacede.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
-
hasFallenBack
public boolean hasFallenBack()- Specified by:
hasFallenBackin interfacede.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
-
getPathState
public de.bsommerfeld.pathetic.api.pathing.result.PathState getPathState()- Specified by:
getPathStatein interfacede.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
-
getPath
public de.bsommerfeld.pathetic.api.pathing.result.Path getPath()- Specified by:
getPathin interfacede.bsommerfeld.pathetic.api.pathing.result.PathfinderResult
-