Package squidpony.squidgrid.iterator
Class SquidIterators
java.lang.Object
squidpony.squidgrid.iterator.SquidIterators
public class SquidIterators extends Object
Instances of
SquidIterator.- Author:
- smelC
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSquidIterators.AroundCounterClockWiseAn iterator that iterates around a starting position (counter clockwise).static classSquidIterators.BottomLeftToTopRightIterator that starts from the bottom left element of the grid, to the top right.static classSquidIterators.CenteredSquareAn iterator that returns cells in a square around a location.static classSquidIterators.Downstatic classSquidIterators.Leftstatic classSquidIterators.LinearAn iterator to iterate from a starting position (inclusive) and going in one Direction.static classSquidIterators.RectangleFromBottomLeftToTopRightAn 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.static classSquidIterators.Rightstatic classSquidIterators.Upstatic classSquidIterators.VerticalUpAn iterator to iterate from a starting position (exclusive) and going up. -
Constructor Summary
Constructors Constructor Description SquidIterators() -
Method Summary
-
Constructor Details
-
SquidIterators
public SquidIterators()
-