diff --git a/class/character.hpp b/class/character.hpp index 875d883..bb055d7 100644 --- a/class/character.hpp +++ b/class/character.hpp @@ -32,12 +32,12 @@ class Character this->def = def; } - bool checkDied() + bool isDead() { return hp <= 0; } - bool checkAlive() + bool isAlive() { return hp > 0; } @@ -62,6 +62,11 @@ class Character return def; } + char *getName() + { + return name; + } + int getAtt() { return att;