Package zombie.ai.states
Class PathFindState
java.lang.Object
zombie.ai.State
zombie.ai.states.PathFindState
- All Implemented Interfaces:
IPathfinder
public class PathFindState extends State implements IPathfinder
-
Constructor Summary
Constructors Constructor Description PathFindState() -
Method Summary
Modifier and Type Method Description voidenter(IsoGameCharacter owner)voidexecute(IsoGameCharacter owner)voidexit(IsoGameCharacter owner)voidFailed(Mover mover)java.lang.StringgetName()static PathFindState2instance()voidSucceeded(Path path, Mover mover)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PathFindState
public PathFindState()
-
-
Method Details
-
instance
-
enter
-
execute
-
exit
-
Failed
- Specified by:
Failedin interfaceIPathfinder
-
Succeeded
- Specified by:
Succeededin interfaceIPathfinder
-
getName
public java.lang.String getName()- Specified by:
getNamein interfaceIPathfinder
-