您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
445 B

  1. #ifndef HACKTHEGAME_MONSTER_HPP
  2. #define HACKTHEGAME_MONSTER_HPP
  3. #include "src/class/character.hpp"
  4. class Monster : public Character
  5. {
  6. protected:
  7. int bounty;
  8. public:
  9. Monster(std::string monsterName);
  10. Monster(std::string monsterName, int monsterMaxHP, int monsterAtk, int monsterDef);
  11. Monster(std::string monsterName, int monsterMaxHP, int monsterAtk, int monsterDef, int monsterBounty);
  12. int getBounty();
  13. };
  14. #endif