Behaviors.h

00001 //---------------------------------------------------------------------------
00002 
00003 #ifndef BehaviorsH
00004 #define BehaviorsH
00005 //---------------------------------------------------------------------------
00006 
00007 #include "ObjectManagerBase.h"
00008 #include "Constants.h"
00009 #include "BehaviorBase.h"
00010 
00022 class clBehaviorManager : public clObjectManagerBase {
00023   public:
00024 
00030   clBehaviorManager(clSimManager *p_oSimManager) :
00031                             clObjectManagerBase(p_oSimManager){;};
00032   //~clBehaviorManager(); Destructor not needed
00033 
00038   int GetObjectVersion() {return 1;};
00039 
00048   void CreateObjects(DOMDocument *p_oDoc);
00049 
00050 protected:
00051 
00053  struct behaviorData {char cNameString[MAX_NAMESTRING_SIZE]; 
00055                        float fVersion; 
00056                        short int iNumCombos; 
00058                        stcSpeciesTypeCombo *p_whatCombos; 
00060                        };
00061 
00072   void CreateBehavior(behaviorData *p_data);
00073 };
00074 
00075 //----------------------------------------------------------------------------
00076 #endif

Generated on Thu Jan 26 13:44:32 2006 for SORTIE Core C++ Documentation by  doxygen 1.4.6-NO