aboutsummaryrefslogtreecommitdiffstats
path: root/src/projectile.cpp
diff options
context:
space:
mode:
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);
+}