#pragma once #include #include #include "Spiral.h" #include "Generator.h" class SpiralGenerator : public Generator { public: friend class EnemyFactory; SpiralGenerator(std::shared_ptr position, SpiralBullet::Vector& bullets); void update(float dt) override; private: std::shared_ptr m_position; SpiralBullet::Vector& m_bullets; float m_delay; float m_interval; int m_speed; float m_angle; float m_redirect; float m_timer; float m_redirect_time; float m_redirect_decrease; int m_segments; Color m_color; };