Class SquidIterators.AroundCounterClockWise

java.lang.Object
squidpony.squidgrid.iterator.SquidIterators.AroundCounterClockWise
All Implemented Interfaces:
Iterator<Coord>, SquidIterator
Enclosing class:
SquidIterators

public static class SquidIterators.AroundCounterClockWise
extends Object
implements SquidIterator
An iterator that iterates around a starting position (counter clockwise). It can return at most 9 elements. Instances of this iterator only return coordinates that are valid w.r.t. to the widths and heights given at creation time (i.e. they do not go off the map).
Author:
smelC