From 85119293fe4f6814d44e8ee3f182c40876829128 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 17 Apr 2022 14:03:10 +0200 Subject: Added sample bullet and some generation --- Bullets.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Bullets.h (limited to 'Bullets.h') 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 + +#include + + +struct ConstantVelocityBullet; + + +void update(float dt, std::vector& bullets); + + +struct ConstantVelocityBullet +{ + Vector2 position; + Vector2 velocity; +}; -- cgit v1.1