You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
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. }