#include <gAIBase.h>
Public Member Functions | |
gSimpleAI () | |
REAL | Think () |
virtual | ~gSimpleAI () |
gCycle * | Object () |
void | SetObject (gCycle *cycle) |
Protected Member Functions | |
virtual REAL | DoThink ()=0 |
Private Attributes | |
tJUST_CONTROLLED_PTR< gCycle > | object_ |
Definition at line 55 of file gAIBase.h.
gSimpleAI::~gSimpleAI | ( | ) | [virtual] |
Definition at line 75 of file gAIBase.cpp.
References con.
00076 { 00077 con << "simple AI destroyed.\n"; 00078 }
REAL gSimpleAI::Think | ( | ) | [inline] |
Definition at line 63 of file gAIBase.h.
References DoThink().
Referenced by _wrap_GSimpleAI_think(), and gAIPlayer::Think().
00064 { 00065 return DoThink(); 00066 }
gCycle* gSimpleAI::Object | ( | ) | [inline] |
void gSimpleAI::SetObject | ( | gCycle * | cycle | ) | [inline] |
Definition at line 71 of file gAIBase.h.
References object_.
Referenced by gSimpleAIFactory::Create().
00071 { object_ = cycle; }
virtual REAL gSimpleAI::DoThink | ( | ) | [protected, pure virtual] |
Implemented in SwigDirector_GSimpleAI.
Referenced by Think().
tJUST_CONTROLLED_PTR< gCycle > gSimpleAI::object_ [private] |