1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#pragma once #include <vector> #include <raylib.h> #include "Bullets.h" struct ExampleGenerator { ExampleGenerator(); void update(float dt, std::vector<ConstantVelocityBullet>& bullets); float m_delay; float m_interval; float m_cone; int m_speed; int m_shift; int m_segments; Vector2 m_origin; };