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 void
enter(IsoGameCharacter gameCharacter)
void
execute(IsoGameCharacter gameCharacter)
void
exit(IsoGameCharacter gameCharacter)
void
Failed(Mover mover)
java.lang.String
getName()
static PathFindState2
instance()
void
Succeeded(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:
Failed
in interfaceIPathfinder
-
Succeeded
- Specified by:
Succeeded
in interfaceIPathfinder
-
getName
public java.lang.String getName()- Specified by:
getName
in interfaceIPathfinder
-