#pragma once #include #include #include "ConstantVelocity.h" #include "Generator.h" class ExampleGenerator : public Generator { public: friend class EnemyFactory; ExampleGenerator(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_cone; float m_angle; float m_direction; int m_speed; int m_shift; int m_segments; Color m_color; };