| Modifier and Type | Field and Description |
|---|---|
private int |
x
The current coordinate position in the iteration.
|
private int |
y
The current coordinate position in the iteration.
|
| Constructor and Description |
|---|
WholeMapIterator()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Tile |
next() |
void |
remove() |
private int x
private int y
public boolean hasNext()
hasNext in interface java.util.Iterator<Tile>public Tile next() throws java.util.NoSuchElementException
next in interface java.util.Iterator<Tile>java.util.NoSuchElementExceptionpublic void remove()
remove in interface java.util.Iterator<Tile>