From 2773854a3e749512826fa8b71b77e754be79836f Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 18 Apr 2022 11:05:24 +0200 Subject: Renamed bullets header to simply ConstantVelocity --- Bullets.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 Bullets.h (limited to 'Bullets.h') 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 - -#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; -}; -- cgit v1.1