Package squidpony.squidgrid.iterator
Iterators that allow traversal of
Coord
points on a map's grid.-
Interface Summary Interface Description SquidIterator Iterators that return instances ofCoord
and that are useful in roguelikes. -
Class Summary Class Description SquidIterators Instances ofSquidIterator
.SquidIterators.AroundCounterClockWise An iterator that iterates around a starting position (counter clockwise).SquidIterators.BottomLeftToTopRight Iterator that starts from the bottom left element of the grid, to the top right.SquidIterators.CenteredSquare An iterator that returns cells in a square around a location.SquidIterators.Down SquidIterators.Left SquidIterators.Linear An iterator to iterate from a starting position (inclusive) and going in one Direction.SquidIterators.RectangleFromBottomLeftToTopRight An iterator that starts from a cell and iterates from the bottom left to the top right, in the rectangle defined by the given width and height.SquidIterators.Right SquidIterators.Up SquidIterators.VerticalUp An iterator to iterate from a starting position (exclusive) and going up.