public class SquidIterators
extends java.lang.Object
SquidIterator
.Modifier and Type | Class and Description |
---|---|
static class |
SquidIterators.AroundCounterClockWise
An iterator that iterates around a starting position (counter clockwise).
|
static class |
SquidIterators.BottomLeftToTopRight
Iterator that starts from the bottom left element of the grid, to the top
right.
|
static class |
SquidIterators.CenteredSquare
An iterator that returns cells in a square around a location.
|
static class |
SquidIterators.Down |
static class |
SquidIterators.Left |
static class |
SquidIterators.Linear
An iterator to iterate from a starting position (inclusive) and going in
one Direction.
|
static class |
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.
|
static class |
SquidIterators.Right |
static class |
SquidIterators.Up |
static class |
SquidIterators.VerticalUp
An iterator to iterate from a starting position (exclusive) and going up.
|
Constructor and Description |
---|
SquidIterators() |
Copyright © Eben Howard 2012–2022. All rights reserved.