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

  1.  
  2. #ifndef _ANIM_H_
  3. #define _ANIM_H_
  4.  
  5. class Anim
  6. {
  7.  
  8. public:
  9.     Anim( float time, bool loop = false );
  10.  
  11.     void start   ();
  12.     bool update  ();
  13.     bool done    ();
  14.  
  15. private:
  16.  
  17.     float  m_time;
  18.     double m_clock;
  19.     float  m_loop;
  20. };
  21.  
  22. #endif