gSimpleAI Class Reference

#include <gAIBase.h>

Inheritance diagram for gSimpleAI:

Inheritance graph
[legend]
Collaboration diagram for gSimpleAI:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gSimpleAI ()
REAL Think ()
virtual ~gSimpleAI ()
gCycleObject ()
void SetObject (gCycle *cycle)

Protected Member Functions

virtual REAL DoThink ()=0

Private Attributes

tJUST_CONTROLLED_PTR< gCycleobject_


Detailed Description

Definition at line 55 of file gAIBase.h.


Constructor & Destructor Documentation

gSimpleAI::gSimpleAI (  )  [inline]

Definition at line 58 of file gAIBase.h.

00059     {
00060     }

gSimpleAI::~gSimpleAI (  )  [virtual]

Definition at line 75 of file gAIBase.cpp.

References con.

00076 {
00077     con << "simple AI destroyed.\n";
00078 }


Member Function Documentation

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     }

Here is the call graph for this function:

Here is the caller graph for this function:

gCycle* gSimpleAI::Object (  )  [inline]

Definition at line 70 of file gAIBase.h.

References object_.

00070 { return object_; }

void gSimpleAI::SetObject ( gCycle cycle  )  [inline]

Definition at line 71 of file gAIBase.h.

References object_.

Referenced by gSimpleAIFactory::Create().

00071 { object_ = cycle; }

Here is the caller graph for this function:

virtual REAL gSimpleAI::DoThink (  )  [protected, pure virtual]

Implemented in SwigDirector_GSimpleAI.

Referenced by Think().

Here is the caller graph for this function:


Member Data Documentation

tJUST_CONTROLLED_PTR< gCycle > gSimpleAI::object_ [private]

Definition at line 75 of file gAIBase.h.

Referenced by Object(), and SetObject().


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