#ifndef PROJECTILE_HPP
#define PROJECTILE_HPP

#include "Platform.hpp"
class Level;

class Projectile
{
public:
    Projectile(float x, float y, enum direction dir);
    virtual ~Projectile();
    float getX();
    float getY();
    virtual const PixelBuffer& getSprite() = 0;
    virtual bool doStep(FloatSeconds const & Frametime, Level &level) = 0;
protected:
    direction dir;
    float x;
    float y;
    virtual bool move(FloatSeconds const & Frametime, Level &level) = 0;
};

#endif // PROJECTILE_HPP