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

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CRusher
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    06/05/00
  8. //
  9. // Base:    CAlien
  10. //
  11. // Derived:    None
  12. //
  13. //-------------------------------------------------------------
  14.  
  15. #ifndef _INCLUDE_RUSHER_H
  16. #define _INCLUDE_RUSHER_H
  17.  
  18. #include "alien.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. class CRusher : public CAlien
  23. {
  24.     private:
  25.         CSpinnerWeapon *m_weapon;
  26.         static gsCRandom m_random;
  27.  
  28.     public:
  29.         CRusher();
  30.         virtual ~CRusher();
  31.  
  32.         const ActorInfo& getActorInfo() { return ActorInfoList[INFO_RUSHER]; };
  33.  
  34.         bool activate();
  35.         void kill();
  36.         bool update(Controls *controls);
  37. };
  38.  
  39. //-------------------------------------------------------------
  40.  
  41. #endif
  42.