Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

23 righe
564 B

  1. #include "src/class/monster.hpp"
  2. Monster::Monster(std::string monsterName)
  3. : Character(monsterName)
  4. {
  5. bounty = 0;
  6. }
  7. Monster::Monster(std::string monsterName, int monsterMaxHP, int monsterAtk, int monsterDef)
  8. : Character(monsterName, monsterMaxHP, monsterAtk, monsterDef)
  9. {
  10. bounty = 0;
  11. }
  12. Monster::Monster(std::string monsterName, int monsterMaxHP, int monsterAtk, int monsterDef, int monsterBounty)
  13. : Character(monsterName, monsterMaxHP, monsterAtk, monsterDef)
  14. {
  15. bounty = monsterBounty;
  16. }
  17. int Monster::getBounty()
  18. {
  19. return bounty;
  20. }