text-dungeon-crawler/GameCharacter.h
Kishan Takoordyal 73b746ba8f
init
2020-11-14 18:28:26 +04:00

19 lines
309 B
C++

#include <string>
#ifndef GAMECHARACTER_H
#define GAMECHARACTER_H
using namespace std;
class GameCharacter{
public:
string name;
int maxHealth, currentHealth, attack, defense;
GameCharacter(string, int, int, int);
int takeDamage(int);
bool isDead();
};
#endif