aboutsummaryrefslogtreecommitdiffstats
path: root/src/projectile.cpp
blob: de7b10e2658ac823fdf7639bff866db85901fcee (plain)
1
2
3
4
5
6
7
8
9
10
11
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);
}