From f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82 Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Fri, 14 Jan 2022 14:12:14 +0100 Subject: strange behavior... I WILL find out whats going on ! --- src/projectile.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/projectile.cpp (limited to 'src/projectile.cpp') diff --git a/src/projectile.cpp b/src/projectile.cpp new file mode 100644 index 0000000..de7b10e --- /dev/null +++ b/src/projectile.cpp @@ -0,0 +1,12 @@ +#include "projectile.hpp" +#include + +Projectile::Projectile(Vector2 const& dir, Vector2 const& pos) + : direction(dir), position(pos) {} + +Projectile::~Projectile() {} + +Projectile * +Projectile::getProjectile() { + return (this); +} -- cgit v1.2.3