home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 06 General Architectures / 05 Rabin / robot.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-12-10  |  718 b   |  35 lines

  1. /* Copyright (C) Steve Rabin, 2001. 
  2.  * All rights reserved worldwide.
  3.  *
  4.  * This software is provided "as is" without express or implied
  5.  * warranties. You may freely copy and compile this source into
  6.  * applications you distribute provided that the copyright text
  7.  * below is included in the resulting source code, for example:
  8.  * "Portions Copyright (C) Steve Rabin, 2001"
  9.  */
  10.  
  11. #ifndef __ROBOT_H__
  12. #define __ROBOT_H__
  13.  
  14. #include "statemch.h"
  15.  
  16.  
  17. class Robot : public StateMachine
  18. {
  19. public:
  20.  
  21.     Robot( void ) {};
  22.     ~Robot( void ) {};
  23.  
  24.  
  25. private:
  26.  
  27.     virtual bool States( StateMachineEvent event, int state );
  28.  
  29.     // Put private variables here
  30.     unsigned int m_timer;
  31.  
  32. };
  33.  
  34.  
  35. #endif    // __ROBOT_H__