crystalspace.jbind.interfaces.iengine.sector
Interface iSectorIterator

All Superinterfaces:
iBase, iPointer
All Known Implementing Classes:
csSectorIterator

public interface iSectorIterator
extends iBase

An iterator to iterate over sectors. Some functions in CS return this.

Author:
Java wrapper - Quentin Anciaux, c++ version - http://crystal.sourceforge.net/docs/online/pubapi/structiSectorIterator.php

Method Summary
 csVector3 getLastPosition()
          Get last position that was used from Fetch.
 boolean hasNext()
          Return true if there are more elements.
 iSector next()
          Get sector from iterator.
 void reset()
          Restart iterator.
 
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe
 
Methods inherited from interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Method Detail

getLastPosition

public csVector3 getLastPosition()
Get last position that was used from Fetch. This can be different from 'pos' because of space warping.

Returns:

hasNext

public boolean hasNext()
Return true if there are more elements.

Returns:

next

public iSector next()
Get sector from iterator. Return 0 at end.

Returns:

reset

public void reset()
Restart iterator.