gCycleWallRenderer Class Reference

Inheritance diagram for gCycleWallRenderer:

Inheritance graph
[legend]
Collaboration diagram for gCycleWallRenderer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gCycleWallRenderer (gCycle *cycle)

Private Member Functions

virtual void Render (eCamera const *camera)
 draws object to the screen using OpenGL
virtual bool Timestep (REAL currentTime)

Private Attributes

tJUST_CONTROLLED_PTR< gCyclecycle_


Detailed Description

Definition at line 2072 of file gCycle.cpp.


Constructor & Destructor Documentation

gCycleWallRenderer::gCycleWallRenderer ( gCycle cycle  )  [inline]

Definition at line 2075 of file gCycle.cpp.

References eGameObject::AddToList().

02076     : eReferencableGameObject( cycle->Grid(), cycle->Position(), cycle->Direction(), cycle->CurrentFace(), true )
02077     , cycle_( cycle )
02078     {
02079         AddToList();
02080     }

Here is the call graph for this function:


Member Function Documentation

virtual void gCycleWallRenderer::Render ( eCamera const *  cam  )  [inline, private, virtual]

draws object to the screen using OpenGL

Reimplemented from eGameObject.

Definition at line 2093 of file gCycle.cpp.

02094     {
02095         cycle_->displayList_.RenderAll( camera, cycle_ );
02096     }

virtual bool gCycleWallRenderer::Timestep ( REAL  currentTime  )  [inline, private, virtual]

Reimplemented from eGameObject.

Definition at line 2098 of file gCycle.cpp.

References eGameObject::lastTime, and eGameObject::Move().

02099     {
02100         if ( !cycle_ )
02101         {
02102             return true;
02103         }
02104 
02105         Move( cycle_->Position(), lastTime, currentTime );
02106 
02107         return !cycle_->Alive() && !cycle_->displayList_.Walls();
02108     }

Here is the call graph for this function:


Member Data Documentation

tJUST_CONTROLLED_PTR< gCycle > gCycleWallRenderer::cycle_ [private]

Definition at line 2110 of file gCycle.cpp.


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:38:44 2008 for Armagetron Advanced by  doxygen 1.5.4