Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Hero{
- public:
- string name;
- int str;
- int dex;
- int inte;
- int gold;
- int sword;
- int knife;
- int magic;
- int health;
- //Hero (string _name, int _str, int _dex, int _inte, int _gold, int _sword, int _knife, int _magic);
- void createHero(string _name, int _str, int _dex, int _inte, int _gold, int _sword, int _knife, int _magic, int _health);
- void statsScr(string _name, int _str, int _dex, int _inte, int _gold, int _sword, int _knife, int _magic, int _health);
- };
- //Konstruktor till klassen Hero
- /*Hero::Hero(string _name, int _str, int _dex, int _inte, int _gold, int _sword, int _knife, int _magic){
- name = _name;
- str = _str;
- dex = _dex;
- inte = _inte;
- gold = _gold;
- sword = _sword;
- knife = _knife;
- magic = _magic;
- } */
Advertisement
Add Comment
Please, Sign In to add comment