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.
 
 
 
 

24 lines
564 B

#include "src/class/monster.hpp"
Monster::Monster(std::string monsterName)
: Character(monsterName)
{
bounty = 0;
}
Monster::Monster(std::string monsterName, int monsterMaxHP, int monsterAtk, int monsterDef)
: Character(monsterName, monsterMaxHP, monsterAtk, monsterDef)
{
bounty = 0;
}
Monster::Monster(std::string monsterName, int monsterMaxHP, int monsterAtk, int monsterDef, int monsterBounty)
: Character(monsterName, monsterMaxHP, monsterAtk, monsterDef)
{
bounty = monsterBounty;
}
int Monster::getBounty()
{
return bounty;
}