#include <wolfPack.h>
|
| | WolfPack (int hp=30) |
| |
| const EnemyMove & | nextMove () |
| | Returns the next move in the enemy's move sequence.
|
| |
| | Entity () |
| |
| | Entity (int hp, int attack=0, int armor=0) |
| |
| std::string_view | getName () const |
| | Returns the display name of the entity.
|
| |
| int | getArmor () const |
| | Returns the current armor value.
|
| |
| int | getAttack () const |
| | Returns the current attack value.
|
| |
| void | resetArmor () |
| | Resets armor to zero.
|
| |
| void | resetAttack () |
| | Resets attack to zero.
|
| |
| void | increaseArmor (int amount) |
| | Increases armor by the given amount.
|
| |
| void | increaseAttack (int amount) |
| | Increases attack by the given amount.
|
| |
| void | lowerArmor (int amount) |
| | Decreases armor by the given amount.
|
| |
| int | getHp () const |
| | Returns the current HP value.
|
| |
| void | lowerHp (int amount) |
| | Decreases HP by the given amount.
|
| |
| void | increaseHp (int amount) |
| | Increases HP by the given amount.
|
| |
◆ WolfPack()
| WolfPack::WolfPack |
( |
int |
hp = 30 | ) |
|
The documentation for this class was generated from the following files: