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

  1. //-------------------------------------------------------------
  2. //
  3. // Class:    CMissile
  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_MISSILE_H
  16. #define _INCLUDE_MISSILE_H
  17.  
  18. #include "bullet.h"
  19.  
  20. //-------------------------------------------------------------
  21.  
  22. const int MISSILE_FRAMES = 2;
  23.  
  24. //-------------------------------------------------------------
  25.  
  26. class CMissile : public CBullet
  27. {
  28.     public:
  29.         CMissile();
  30.         virtual ~CMissile();
  31.         const ActorInfo& getActorInfo() { return ActorInfoList[INFO_MISSILE]; };
  32.  
  33.         bool update(Controls *controls);
  34. };
  35.  
  36. //-------------------------------------------------------------
  37.  
  38. #endif
  39.