Constructor and Description |
---|
EightNeighbors(Location center) |
EightNeighbors(Location center,
int startDirection) |
public EightNeighbors(Location center, int startDirection)
public EightNeighbors(Location center)
public void reset()
public void reset(int newStartDirection)
public int getDirection()
public java.util.Iterator<Location> iterator()
iterator
in interface java.lang.Iterable<Location>
public boolean hasNext()
hasNext
in interface java.util.Iterator<Location>
public void remove()
remove
in interface java.util.Iterator<Location>