#pragma once #include #include #include "ConstantVelocity.h" #include "Generator.h" class ArcGenerator : public Generator { public: friend class EnemyFactory; ArcGenerator(std::shared_ptr position, ConstantVelocityBullet::Vector& bullets); void update(float dt) override; private: std::shared_ptr m_position; ConstantVelocityBullet::Vector& m_bullets; float m_delay; float m_interval; float m_arc; float m_angle; float m_rotation; float m_radius; bool m_last; int m_speed; int m_shift; int m_segments; Color m_color; };