Coord points on a map's grid.See: Description
| Interface | Description |
|---|---|
| SquidIterator |
Iterators that return instances of
Coord and that are useful in
roguelikes. |
| Class | Description |
|---|---|
| SquidIterators |
Instances of
SquidIterator. |
| 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.
|
Coord points on a map's grid.Copyright © Eben Howard 2012–2022. All rights reserved.