home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / thx / demos / skyscrap / build / rocket.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-13  |  514 b   |  31 lines

  1. #ifndef __rocket_h
  2. #define __rocket_h
  3.  
  4. #include "weapon.h"
  5.  
  6. //--------------------------------------
  7. // Rocket
  8. // the helicopter's weapon
  9. // draws itself
  10. //--------------------------------------
  11. class Rocket : public Weapon
  12. {
  13.   // data
  14.   private:
  15.   protected:
  16.   public:
  17.  
  18.   // functions
  19.   private:
  20.   protected:
  21.   public:
  22.     Rocket();
  23.     void Reset(void);
  24.     boolean Move(void);
  25.     boolean CheckForCollision();
  26.     void OnDraw(void);
  27.     void initialize();
  28. };
  29.  
  30. #endif //__rocket_h
  31.