deDecalList Class Reference

Collision Decal List. More...

#include <deDecalList.h>

Inheritance diagram for deDecalList:
deObject

List of all members.

Public Member Functions

Constructors and Destructors
 deDecalList ()
 Creates a new decal list object.
virtual ~deDecalList ()
 Cleans up the decal list object.
Management
int GetDecalCount () const
 Retrieves the number of decals.
deDecalGetDecalAt (int index) const
 Retrieves the decal at the given index.
bool HasDecal (deDecal *decal) const
 Determines if a decal exists.
int IndexOfDecal (deDecal *decal) const
 Retrieves the index of the decal or -1 if not found.
void AddDecal (deDecal *decal)
 Adds a decal.
void RemoveAllDecals ()
 Removes all decals.

Detailed Description

Collision Decal List.

Stores a list of decals. This class is used to collect decals from collision test into a list for later processing.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deDecalList::deDecalList (  )

Creates a new decal list object.

virtual deDecalList::~deDecalList (  ) [virtual]

Cleans up the decal list object.


Member Function Documentation

void deDecalList::AddDecal ( deDecal decal )

Adds a decal.

deDecal* deDecalList::GetDecalAt ( int  index ) const

Retrieves the decal at the given index.

int deDecalList::GetDecalCount (  ) const [inline]

Retrieves the number of decals.

bool deDecalList::HasDecal ( deDecal decal ) const

Determines if a decal exists.

int deDecalList::IndexOfDecal ( deDecal decal ) const

Retrieves the index of the decal or -1 if not found.

void deDecalList::RemoveAllDecals (  )

Removes all decals.


The documentation for this class was generated from the following file: