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

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