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

22 lines
339 B
C++

#ifndef _PLAYER_HPP_
#define _PLAYER_HPP_
class Player: public Entity
{
public:
Player(int posx, int posy);
bool driver(int key);
bool displayStats();
virtual void action(int px, int py){};
virtual bool damage(int dmg);
int x;
int y;
int perc;
int dmg;
private:
int hp;
int max_hp;
};
#endif