#ifndef BULLETPATTERN_H #define BULLETPATTERN_H #include "vector.h" class BulletPattern { protected: float* bullets; unsigned int num_bullets; unsigned int stride; unsigned int steps; public: float color_r, color_g, color_b; virtual void update() = 0; void draw(); }; class BulletPattern1 : public BulletPattern { public: BulletPattern1(const Vector2& initpos); void update(); }; class BulletPattern2 : public BulletPattern { public: BulletPattern2(const Vector2& initpos); void update(); }; class BulletPattern3 : public BulletPattern { public: BulletPattern3(const Vector2& initpos); void update(); }; #endif