Package squidpony.squidgrid.iterator
Class SquidIterators.Linear
java.lang.Object
squidpony.squidgrid.iterator.SquidIterators.Linear
- All Implemented Interfaces:
Iterator<Coord>
,SquidIterator
- Direct Known Subclasses:
SquidIterators.Down
,SquidIterators.Left
,SquidIterators.Right
,SquidIterators.Up
- Enclosing class:
- SquidIterators
public static class SquidIterators.Linear extends Object implements SquidIterator
An iterator to iterate from a starting position (inclusive) and going in
one Direction. This iterator stops when reaching the map's bound.
- Author:
- smelC