Newer
Older
#ifndef ENEMY_H
#define ENEMY_H
#include "entity.h"
class Enemy: public Entity
{
public:
Enemy(Window &window);
~Enemy();
void Update(vector<Entity *> entities);
void Draw(Window &window);
Rect *get_rect();
private:
Rect *rect;
Rect *flipped_rect;
int vy;
bool right;
};
#endif