Select Git revision
Enemyprojectile.hpp
-
Claudio Hoffmann authoredClaudio Hoffmann authored
Enemyprojectile.hpp 420 B
#ifndef ENEMYPROJECTILE_HPP
#define ENEMYPROJECTILE_HPP
#include "Projectile.hpp"
class EnemyProjectile: public Projectile
{
public:
EnemyProjectile(float x, float y, int direction);
bool doStep(FloatSeconds const & Frametime, Level &level) override;
PixelBuffer const& getSprite() override;
protected:
bool move(FloatSeconds const & Frametime, Level &level) override;
};
#endif // ENEMYPROJECTILE_HPP