crystalspace.jbind.interfaces.iengine.light
Interface iLightIterator

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

public interface iLightIterator
extends iBase

Iterator to iterate over all static lights in the engine.

Author:
Quentin Anciaux

Method Summary
 iSector getLastSector()
          Get the sector for the last fetched light.
 boolean hasNext()
          Return true if there are more elements.
 iLight next()
          Get light 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

hasNext

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

Returns:

next

public iLight next()
Get light from iterator. Return 0 at end.

Returns:

getLastSector

public iSector getLastSector()
Get the sector for the last fetched light.

Returns:

reset

public void reset()
Restart iterator.