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

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