Package org.rspeer.game.web.path
Class Edge
- java.lang.Object
-
- org.rspeer.game.web.path.Edge
-
- Direct Known Subclasses:
FairyRingEdge
,ItemTeleportationEdge
,NpcEdge
,ObjectEdge
,SpiritTreeTeleport
,TransmutableObject
public class Edge extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Edge.EdgeType
-
Constructor Summary
Constructors Constructor Description Edge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Position
getChild()
double
getCost()
Position
getParent()
Edge.EdgeType
getType()
String
toString()
boolean
traversable()
boolean
traverse()
-
-
-
Method Detail
-
traversable
public boolean traversable()
-
getParent
public Position getParent()
-
getChild
public Position getChild()
-
traverse
public boolean traverse()
-
getType
public Edge.EdgeType getType()
-
getCost
public double getCost()
-
-