aboutsummaryrefslogtreecommitdiffstats
path: root/src/projectile.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-14 14:12:14 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-14 14:12:14 +0100
commitf3b2fcb95f0eb21d3b1e5977659c6447ccffeb82 (patch)
tree6899f16faabe3210989792de92c8b021f112d78a /src/projectile.cpp
parentboss has the correct textures (diff)
downloadthreshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.tar.gz
threshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.tar.bz2
threshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.tar.xz
threshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.tar.zst
threshold-f3b2fcb95f0eb21d3b1e5977659c6447ccffeb82.zip
strange behavior... I WILL find out whats going on !
Diffstat (limited to 'src/projectile.cpp')
-rw-r--r--src/projectile.cpp12
1 files changed, 12 insertions, 0 deletions
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 <raylib.h>
+
+Projectile::Projectile(Vector2 const& dir, Vector2 const& pos)
+ : direction(dir), position(pos) {}
+
+Projectile::~Projectile() {}
+
+Projectile *
+Projectile::getProjectile() {
+ return (this);
+}