Player.h
 1  #pragma once
 2  
 3  
 4  
 5  class Player
 6  {
 7  public:
 8  	Player();
 9  	Player(int hp);
10  
11  	virtual ~Player();
12  
13  	void PrintInfo();
14  
15  	void AddHp(int value);
16  	bool IsDead();
17  
18  	int GetAttackDamage();
19  
20  	void OnDamaged(Player* attacker);
21  
22  public:
23  
24  	int _hp;
25  	int _maxHp;
26  	int _attack;
27  };
28