gRandomController Class Reference

Collaboration diagram for gRandomController:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gRandomController (tRandomizer &randomizer=tRandomizer::GetInstance())
 ~gRandomController ()

Public Attributes

gRandomControllerlastRandom_
tRandomizerrandomizer_

Static Public Attributes

static gRandomControllerrandom_ = 0


Detailed Description

Definition at line 114 of file gAIBase.cpp.


Constructor & Destructor Documentation

gRandomController::gRandomController ( tRandomizer randomizer = tRandomizer::GetInstance()  )  [inline]

Definition at line 121 of file gAIBase.cpp.

00122             : lastRandom_( random_ ), randomizer_( randomizer )
00123     {
00124         random_ = this;
00125     }

gRandomController::~gRandomController (  )  [inline]

Definition at line 127 of file gAIBase.cpp.

00128     {
00129         random_ = lastRandom_;
00130     }


Member Data Documentation

gRandomController * gRandomController::random_ = 0 [static]

Definition at line 117 of file gAIBase.cpp.

gRandomController* gRandomController::lastRandom_

Definition at line 118 of file gAIBase.cpp.

tRandomizer& gRandomController::randomizer_

Definition at line 119 of file gAIBase.cpp.

Referenced by Random().


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