home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / XenonSource.exe / xenon / includes / spinner.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-23  |  812 b   |  41 lines

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CSpinner
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    06/05/00
  8. //
  9. // Base:    CBullet
  10. //
  11. // Derived:    None
  12. //
  13. //-------------------------------------------------------------
  14.  
  15. #ifndef _INCLUDE_SPINNER_H
  16. #define _INCLUDE_SPINNER_H
  17.  
  18. #include "bullet.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. const int SPINNER_FRAMES = 8;
  23.  
  24. //-------------------------------------------------------------
  25.  
  26. class CSpinner : public CBullet
  27. {
  28.     public:
  29.         CSpinner();
  30.         virtual ~CSpinner();
  31.         const ActorInfo& getActorInfo() { return ActorInfoList[INFO_SPINNER]; };
  32.  
  33.         bool activate();
  34.  
  35.         bool update(Controls *controls);
  36. };
  37.  
  38. //-------------------------------------------------------------
  39.  
  40. #endif
  41.