Package org.rspeer.game.web.path
Class WebPath
- java.lang.Object
-
- org.rspeer.game.web.path.WebPath
-
public class WebPath extends Object
-
-
Field Summary
Fields Modifier and Type Field Description int
failed
-
Constructor Summary
Constructors Constructor Description WebPath(List<WebSegment> segments, Position destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(Graphics2D g)
Position
getDestination()
List<WebSegment>
getSegments()
boolean
isValid()
boolean
shouldInvalidateForDestination(Position position)
void
step()
-
-
-
Constructor Detail
-
WebPath
public WebPath(List<WebSegment> segments, Position destination)
-
-
Method Detail
-
step
public void step()
-
getSegments
public List<WebSegment> getSegments()
-
getDestination
public Position getDestination()
-
isValid
public boolean isValid()
-
shouldInvalidateForDestination
public boolean shouldInvalidateForDestination(Position position)
-
debug
public void debug(Graphics2D g)
-
-