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

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CSpinnerWeapon
  4. //
  5. // Author:    John M Phillips
  6. //
  7. // Started:    06/05/00
  8. //
  9. // Base:    CWeapon
  10. //
  11. // Derived:    None
  12. //
  13. //-------------------------------------------------------------
  14.  
  15. #ifndef _INCLUDE_SPINNERWEAPON_H
  16. #define _INCLUDE_SPINNERWEAPON_H
  17.  
  18. #include "weapon.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. class CSpinnerWeapon : public CWeapon
  23. {
  24.     private:
  25.         gsCVector m_direction;
  26.  
  27.     public:
  28.         CSpinnerWeapon();
  29.         virtual ~CSpinnerWeapon();
  30.         const ActorInfo& getActorInfo() { return ActorInfoList[INFO_SPINNER_WEAPON]; };
  31.  
  32.         bool fire();
  33.  
  34.         void setDirection(const gsCVector& direction);
  35. };
  36.  
  37. //-------------------------------------------------------------
  38.  
  39. #endif
  40.