Skip to content
Snippets Groups Projects
enemy.h 315 B
Newer Older
sgupta72's avatar
sgupta72 committed
#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