skitzFist

Untitled

Nov 24th, 2015
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. class Hero{
  2. public:
  3. string name;
  4. int str;
  5. int dex;
  6. int inte;
  7.  
  8. int gold;
  9.  
  10. int sword;
  11. int knife;
  12. int magic;
  13. int health;
  14. //Hero (string _name, int _str, int _dex, int _inte, int _gold, int _sword, int _knife, int _magic);
  15.  
  16. void createHero(string _name, int _str, int _dex, int _inte, int _gold, int _sword, int _knife, int _magic, int _health);
  17. void statsScr(string _name, int _str, int _dex, int _inte, int _gold, int _sword, int _knife, int _magic, int _health);
  18. };
  19.  
  20.  
  21. //Konstruktor till klassen Hero
  22. /*Hero::Hero(string _name, int _str, int _dex, int _inte, int _gold, int _sword, int _knife, int _magic){
  23.  
  24. name = _name;
  25. str = _str;
  26. dex = _dex;
  27. inte = _inte;
  28. gold = _gold;
  29. sword = _sword;
  30. knife = _knife;
  31. magic = _magic;
  32. } */
Advertisement
Add Comment
Please, Sign In to add comment