選択できるのは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