Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# deCollision Class Reference

`#include <deScene_priv.hpp>`

Inheritance diagram for deCollision:

[legend]
Collaboration diagram for deCollision:

[legend]
List of all members.

## Public Member Functions
| deCollision ()
| ~deCollision ()
long | Release ()
| release the collision class (deletes it)
void | Reset ()
| clear out all the collisions that have accrued
long | GetNumCollisions ()
| returns the number of collisions accrued
void | GetCollision (long ColNum, deCollideInfo &collision)
| retrieves a specific collision occurrence
deBoolean | AddCollision (const deCollideInfo &collision)
## Private Attributes
deTArray< deCollideInfo > | m_Collisions

## Constructor & Destructor Documentation

deCollision::deCollision | ( |  | ) |

deCollision::~deCollision | ( |  | ) |

## Member Function Documentation

deBoolean deCollision::AddCollision | ( | const deCollideInfo & | collision | ) | `[virtual]`

| Implements IdeCollision.

void deCollision::GetCollision | ( | long | ColNum,
|  | deCollideInfo & | collision
| ) | `[virtual]`

| retrieves a specific collision occurrence Implements IdeCollision.

long deCollision::GetNumCollisions | ( |  | ) | `[virtual]`

| returns the number of collisions accrued Implements IdeCollision.

long deCollision::Release | ( |  | ) | `[virtual]`

| release the collision class (deletes it) Implements IdeCollision.

void deCollision::Reset | ( |  | ) | `[virtual]`

| clear out all the collisions that have accrued Implements IdeCollision.

## Member Data Documentation

deTArray<deCollideInfo> deCollision::m_Collisions`[private]`

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

- deScene_priv.hpp
- deScene.cpp