Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <string>
- class playerClass
- {
- private:
- std::string name;
- int hitpoints;
- int maxHP;
- int experience;
- int gold;
- int str;
- int weapon;
- public:
- playerClass(void);
- void setName(std::string x);
- std::string getName();
- int getHP();
- int getEXP();
- int getGold();
- void setGold(int gold);
- int getSTR();
- int getWeapon();
- int getMaxHP();
- void setHP(int hp);
- void attackHP(int hp);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement