diff options
Diffstat (limited to 'Bullets.h')
-rw-r--r-- | Bullets.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/Bullets.h b/Bullets.h deleted file mode 100644 index 3970aff..0000000 --- a/Bullets.h +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -#include <vector> - -#include <raylib.h> - - -static constexpr float MARGIN {40}; - - -struct ConstantVelocityBullet; - - -struct ConstantVelocitySystem -{ - ConstantVelocitySystem(); - explicit ConstantVelocitySystem(int reserved); - void update(float dt); - void draw(); - std::vector<ConstantVelocityBullet> m_bullets; -}; - - -struct ConstantVelocityBullet -{ - using Vector = std::vector<ConstantVelocityBullet>; - Vector2 position; - Vector2 velocity; - float radius; - Color color; -}; |