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< gCycle > | cycle_ |
Definition at line 2072 of file gCycle.cpp.
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 }
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.
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 }
tJUST_CONTROLLED_PTR< gCycle > gCycleWallRenderer::cycle_ [private] |
Definition at line 2110 of file gCycle.cpp.