Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csShadowBlockList Class Reference

A list of shadow blocks. More...

#include <lview.h>

Inheritance diagram for csShadowBlockList:

iShadowBlockList iBase List of all members.

Public Methods

 csShadowBlockList ()
 Create a new empty list.

virtual ~csShadowBlockList ()
 Destroy the list and all shadow blocks in it.

virtual iShadowBlock* NewShadowBlock (iSector *sector, int draw_busy, int num_shadows=30)
 Create a new shadow block and append to the list.

virtual iShadowBlock* NewShadowBlock ()
 Create a new shadow block and append to the list.

void AppendShadowBlock (csShadowBlock *slist)
 Append a shadow block to this list.

virtual void RemoveLastShadowBlock ()
 Remove the last shadow block from this list.

void Clear ()
 Clear first and last pointers without deleting anything!

virtual void DeleteAllShadows ()
 Destroy all shadow lists and shadows in the list.

virtual iShadowBlock* GetFirstShadowBlock ()
 Get first shadow block in the list.

virtual iShadowBlock* GetLastShadowBlock ()
 Get last shadow block in the list.

virtual iShadowBlock* GetNextShadowBlock (iShadowBlock *s)
 Get next shadow block.

virtual iShadowBlock* GetPreviousShadowBlock (iShadowBlock *s)
 Get previous shadow block.

csShadowIterator* GetCsShadowIterator (bool reverse=false)
 Return an iterator to iterate over all shadows in this list.

virtual iShadowIterator* GetShadowIterator (bool reverse=false)
 Return an iterator to iterate over all shadows in this list.


Public Attributes

 SCF_DECLARE_IBASE

Detailed Description

A list of shadow blocks.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000