public class DirectDrawableEdge extends java.lang.Object implements DrawableEdge
| Constructor and Description |
|---|
DirectDrawableEdge() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Position> |
intermediatePositions(Position from,
Position to)
Returns a list of intermediate positions on the path from to to.
|
void |
invert()
Inverts this drawable edge by inverting the possible intermediate positions which can be returned.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrelativizepublic java.util.List<Position> intermediatePositions(Position from, Position to)
DrawableEdgeintermediatePositions in interface DrawableEdgefrom - The position where this drawable edge starts.to - The position where this drawable edge ends.public void invert()
DrawableEdgeinvert in interface DrawableEdge