AICharPool Class Reference

#include <aiWorld.h>

Collaboration diagram for AICharPool:
Collaboration graph
[legend]

List of all members.

Classes

struct  node

Public Member Functions

 AICharPool ()
 ~AICharPool ()
void append (AICharacter *ai_ch)
void del (string name)
void print_list ()

Public Attributes

node_head

Detailed Description

Class : AICharPool Description : This class implements a linked list of AI Characters allowing the user to add and delete characters from the linked list. This will be used in the AIWorld class.

Definition at line 39 of file aiWorld.h.


Constructor & Destructor Documentation

AICharPool::AICharPool (  ) 

Definition at line 160 of file aiWorld.cxx.

AICharPool::~AICharPool (  ) 

Definition at line 164 of file aiWorld.cxx.


Member Function Documentation

void AICharPool::append ( AICharacter ai_ch  ) 

Definition at line 167 of file aiWorld.cxx.

Here is the caller graph for this function:

void AICharPool::del ( string  name  ) 

Only one node in the linked list

Special case

Definition at line 190 of file aiWorld.cxx.

Here is the caller graph for this function:

void AICharPool::print_list (  ) 

Function : print_list Description : This function prints the ai characters in the AICharPool. Used for debugging purposes.

Definition at line 235 of file aiWorld.cxx.

Here is the caller graph for this function:


Member Data Documentation

Definition at line 46 of file aiWorld.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator

Generated on Tue Nov 3 22:34:34 2009 for PandAI by  doxygen 1.6.1