![]() |
Public API Reference |
#include <engine.h>
Inheritance diagram for csLightIt:
Public Methods | |
csLightIt (csEngine *, iRegion *region=0) | |
Construct an iterator and initialize to start. More... | |
virtual void | Reset () |
Restart iterator. More... | |
virtual bool | HasNext () |
Return true if there are more elements. More... | |
virtual iLight * | Next () |
Get light from iterator. Return 0 at end. More... | |
virtual iSector * | GetLastSector () |
Get the sector for the last fetched light. More... |
This iterator assumes there are no fundamental changes in the engine while it is being used. If changes to the engine happen the results are unpredictable.
Definition at line 85 of file csengine/engine.h.
|
Construct an iterator and initialize to start.
|
|
Get the sector for the last fetched light.
Implements iLightIterator. |
|
Return true if there are more elements.
Implements iLightIterator. |
|
Get light from iterator. Return 0 at end.
Implements iLightIterator. |
|
Restart iterator.
Implements iLightIterator. |