DuPr/include/Enemy.hpp

15 lines
244 B
C++
Raw Normal View History

2019-06-13 08:56:12 +02:00
#ifndef _ENEMY_HPP_
#define _ENEMY_HPP_
#include "../include/Entity.hpp"
class Enemy: public Entity
{
public:
virtual void action(int px, int py) = 0;
virtual bool damage(int dmg);
protected:
int hp;
int dmg;
};
#endif