gMaxSpaceAheadHitInfoClearer Class Reference

used to clear out dangerous information from hit info after simulation is done More...

#include <gCycleMovement.h>

Collaboration diagram for gMaxSpaceAheadHitInfoClearer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gMaxSpaceAheadHitInfoClearer (gMaxSpaceAheadHitInfo *&info)
 ~gMaxSpaceAheadHitInfoClearer ()

Private Attributes

gMaxSpaceAheadHitInfo *& info_


Detailed Description

used to clear out dangerous information from hit info after simulation is done

Definition at line 42 of file gCycleMovement.h.


Constructor & Destructor Documentation

gMaxSpaceAheadHitInfoClearer::gMaxSpaceAheadHitInfoClearer ( gMaxSpaceAheadHitInfo *&  info  ) 

Definition at line 1505 of file gCycleMovement.cpp.

01507         : info_( info ){}

gMaxSpaceAheadHitInfoClearer::~gMaxSpaceAheadHitInfoClearer (  ) 

Definition at line 1508 of file gCycleMovement.cpp.

References gMaxSpaceAheadHitInfo::edge, info_, NULL, and gMaxSpaceAheadHitInfo::playerWall.

01510 {
01511     gMaxSpaceAheadHitInfo * info = info_;
01512     if ( info )
01513     {
01514         // we can't have the edges lingering around with possibly incomplete data
01515         info->edge = NULL;
01516         info->playerWall = NULL;
01517     }


Member Data Documentation

gMaxSpaceAheadHitInfo* & gMaxSpaceAheadHitInfoClearer::info_ [private]

Definition at line 48 of file gCycleMovement.h.

Referenced by ~gMaxSpaceAheadHitInfoClearer().


The documentation for this class was generated from the following files:
Generated on Sat Mar 15 23:40:10 2008 for Armagetron Advanced by  doxygen 1.5.4