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, wait
relativize
public java.util.List<Position> intermediatePositions(Position from, Position to)
DrawableEdge
intermediatePositions
in interface DrawableEdge
from
- The position where this drawable edge starts.to
- The position where this drawable edge ends.public void invert()
DrawableEdge
invert
in interface DrawableEdge