diff options
Diffstat (limited to 'Bullets.h')
-rw-r--r-- | Bullets.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Bullets.h b/Bullets.h new file mode 100644 index 0000000..7778a9c --- /dev/null +++ b/Bullets.h @@ -0,0 +1,18 @@ +#pragma once + +#include <vector> + +#include <raylib.h> + + +struct ConstantVelocityBullet; + + +void update(float dt, std::vector<ConstantVelocityBullet>& bullets); + + +struct ConstantVelocityBullet +{ + Vector2 position; + Vector2 velocity; +}; |