home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 06 General Architectures / 04 Christian / ieexec.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-09-15  |  450 b   |  32 lines

  1.  
  2. #ifndef _IEEXEC_H_
  3. #define _IEEXEC_H_
  4.  
  5. #include <string>
  6.  
  7. class IEOwner;
  8.  
  9. class IEExec
  10. {
  11. public:
  12.  
  13.     IEExec();
  14.  
  15.     virtual void init   ( IEOwner * owner ) = 0;
  16.     virtual bool start  ();
  17.     virtual bool update () = 0;
  18.     virtual bool finish ();
  19.     virtual void reset  ();
  20.  
  21.     virtual IEOwner * getOwner  () = 0;
  22.  
  23.     virtual const char * getName() = 0;
  24.  
  25. protected:
  26.     int m_state;
  27.  
  28.     bool m_done;
  29. };
  30.  
  31.  
  32. #endif