#ifndef ENEMY_H #define ENEMY_H #include using namespace sf; class Enemy { public: float dx,dy; FloatRect rect; Sprite sprite; float currentFrame; bool life; String name; void set(String name,Texture &image, int x, int y); void update(float time); void destroy(); }; #endif