Java Universal Role Playing Engine Version 0.3.9

jurpe.dungeon.rpgmap
Class MapIterator

java.lang.Object
  extended by jurpe.dungeon.rpgmap.MapIterator
All Implemented Interfaces:
java.util.Iterator<Cell>

public class MapIterator
extends java.lang.Object
implements java.util.Iterator<Cell>


Constructor Summary
MapIterator(ILogicalMap rpgmap)
          An RpgMap Iterator
 
Method Summary
 boolean hasNext()
          True if the iterator has a next object
 Cell next()
          Get next object
 void remove()
          Remove is not supported by this iterator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapIterator

public MapIterator(ILogicalMap rpgmap)
An RpgMap Iterator

Parameters:
rpgmap - LogicalMap
Method Detail

hasNext

public boolean hasNext()
True if the iterator has a next object

Specified by:
hasNext in interface java.util.Iterator<Cell>
Returns:
boolean

next

public Cell next()
          throws java.util.NoSuchElementException
Get next object

Specified by:
next in interface java.util.Iterator<Cell>
Returns:
RpgMapCell
Throws:
java.util.NoSuchElementException

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Remove is not supported by this iterator

Specified by:
remove in interface java.util.Iterator<Cell>
Throws:
java.lang.UnsupportedOperationException

Java Universal Role Playing Engine Version 0.3.9

Copyright ? 2010 http://jurpe.sourceforge.net/ All Rights Reserved.