这一部分应该怎么写,最大生命值是用MaxHP表示

  • increaseHP(int amount), decreaseHP(int amount) – increases/decreases the current HP of the character. Ensure that the current HP of the character is non-negative and no more than the maximum HP for the character.

查看全部
yg1a20
yg1a20
2020/12/06 09:14
  • java
  • 点赞
  • 收藏
  • 回答
    私信

0个回复