DuPr/include/Enemy.hpp
Yakudami fd2f7f494a :|
2019-06-13 08:56:12 +02:00

15 lines
244 B
C++

#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