#pragma once #include #include static constexpr float MARGIN {40}; struct ConstantVelocityBullet; struct ConstantVelocitySystem { ConstantVelocitySystem(); explicit ConstantVelocitySystem(int reserved); void update(float dt); void draw(); std::vector m_bullets; }; struct ConstantVelocityBullet { using Vector = std::vector; Vector2 position; Vector2 velocity; float radius; Color color; };