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

  1. #ifndef __f15_h
  2. #define __f15_h
  3.  
  4. #include "plane.h"
  5. #include "bullet.h"
  6.  
  7. //--------------------------------------
  8. // F15
  9. // the F15 fighter
  10. // maintains a bullet ( his weapon ) list
  11. // draws itself
  12. //--------------------------------------
  13. class F15 : public Plane
  14. {
  15.   // data
  16.   private:
  17.   protected:
  18.     Bullet bullet[15];
  19.   public:
  20.  
  21.   // functions
  22.   private:
  23.   protected:
  24.   public:
  25.     F15() {}
  26.     void GetNewLocation(void);
  27.     void Setup( Director* director );
  28.     void Reset(void);
  29.     void Move(void);
  30.     void OnDraw(void);
  31.     void FireBullet(void);
  32.     void OnHit(int);
  33.     void initialize();
  34.     void SoundDestroy(void);
  35. };
  36.  
  37. #endif //__f15_h
  38.