public class DownwardVisitor extends RecursiveVisitor
This is used by //fill.
| Constructor and Description |
|---|
DownwardVisitor(Mask mask,
RegionFunction function,
int baseY)
Create a new visitor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isVisitable(Vector from,
Vector to)
Return whether the given 'to' block should be visited, starting from the
'from' block.
|
addAxes, addDiagonal, cancel, getAffected, getDirections, resume, visitpublic DownwardVisitor(Mask mask, RegionFunction function, int baseY)
mask - the maskfunction - the functionbaseY - the base Yprotected boolean isVisitable(Vector from, Vector to)
BreadthFirstSearchisVisitable in class RecursiveVisitorfrom - the origin blockto - the block under questionCopyright © 2010-2014. All Rights Reserved.