Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

DrugUser Class Reference

Inheritance diagram for DrugUser:

AIWrapper List of all members.

Public Member Functions

 DrugUser ()
void doAction ()

Public Attributes

int _fix
int _drugAmount

Detailed Description

DrugUser - example class that inherits an AIWrapper


Constructor & Destructor Documentation

DrugUser::DrugUser  )  [inline]
 

the drug user starts with no drugs and not needing any


Member Function Documentation

void DrugUser::doAction  )  [inline, virtual]
 

overridden from AIWrapper, implements all actions in AIConsts.h

Reimplemented from AIWrapper.


Member Data Documentation

int DrugUser::_drugAmount
 

number of times user can dose him/herself before running out

int DrugUser::_fix
 

user wants drugs when fix level is below 70 (s/he then needs his/her 'fix')


The documentation for this class was generated from the following file:
Generated on Sun Apr 11 05:05:56 2004 for FSM_API by doxygen 1.3.6