#include <aiWorld.h>
Classes | |
struct | node |
Public Member Functions | |
AICharPool () | |
~AICharPool () | |
void | append (AICharacter *ai_ch) |
void | del (string name) |
void | print_list () |
Public Attributes | |
node * | _head |
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.
AICharPool::AICharPool | ( | ) |
Definition at line 160 of file aiWorld.cxx.
AICharPool::~AICharPool | ( | ) |
Definition at line 164 of file aiWorld.cxx.
void AICharPool::append | ( | AICharacter * | ai_ch | ) |
void AICharPool::del | ( | string | name | ) |
Only one node in the linked list
Special case
Definition at line 190 of file aiWorld.cxx.
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.