#ifndef BULLETPATTERN_H #define BULLETPATTERN_H class BulletPattern { protected: float* bullets; unsigned int num_bullets; unsigned int stride; unsigned int steps; public: float color_r, color_g, color_b; BulletPattern(); virtual void update(); void draw(); }; class BulletPattern1 : public BulletPattern { public: BulletPattern1(); void update(); }; class BulletPattern2 : public BulletPattern { public: BulletPattern2(float xpos, float ypos); void update(); }; #endif