// CSE 143 // Homework 5 // http://www.cs.washington.edu/education/courses/143/00su/homework/ // 30 Jul 2000, Ken Yasuhara // class BasicRayFirework #ifndef _BASICRAYFIREWORK_H_ #define _BASICRAYFIREWORK_H_ #include "basicfirework.h" class BasicRayFirework : public BasicFirework { public: BasicRayFirework(GP142Color newColor, const double newX, const double newY, const double newVx, const double newVy) : BasicFirework(newX, newY, newVx, newVy), color(newColor) {} BasicRayFirework(GP142Color newColor, const double newX, const double newY, const double newVx, const double newVy, const double newRadius, const int newMass, const int newDuration) : BasicFirework(newX, newY, newVx, newVy, newRadius, newMass, newDuration), color(newColor) {} protected: virtual void paintRocket(GP142Display &display) const; virtual void paintExplosionFlash(GP142Display &display, const int x, const int y) const; GP142Color color; }; #endif // _BASICRAYFIREWORK_H_