CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csLightIt Class Reference

Iterator to iterate over all static lights in the engine. More...

#include <engine.h>

Inheritance diagram for csLightIt:

iLightIterator iBase List of all members.

Public Methods

 csLightIt (csEngine *, iRegion *region=NULL)
 Construct an iterator and initialize to start. More...

virtual void Restart ()
 Restart iterator. More...

virtual iLightFetch ()
 Get light from iterator. Return NULL at end. More...

virtual iSectorGetLastSector ()
 Get the sector for the last fetched light. More...


Detailed Description

Iterator to iterate over all static lights in the engine.

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 80 of file csengine/engine.h.


Constructor & Destructor Documentation

csLightIt::csLightIt csEngine  ,
iRegion   region = NULL
 

Construct an iterator and initialize to start.


Member Function Documentation

virtual iLight* csLightIt::Fetch   [virtual]
 

Get light from iterator. Return NULL at end.

Implements iLightIterator.

virtual iSector* csLightIt::GetLastSector   [virtual]
 

Get the sector for the last fetched light.

Implements iLightIterator.

virtual void csLightIt::Restart   [virtual]
 

Restart iterator.

Implements iLightIterator.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14