|
CPP01 1.0
|
#include <Zombie.hpp>

公開メンバ関数 | |
| Zombie () | |
| Default constructor for the Zombie class. | |
| Zombie (std::string name) | |
| Parameterized constructor for the Zombie class. | |
| ~Zombie () | |
| Destructor for the Zombie class. | |
| void | announce (void) |
| Announces the zombie. | |
| Zombie () | |
| Default constructor for the Zombie class. | |
| Zombie (std::string name) | |
| Parameterized constructor for the Zombie class. | |
| ~Zombie () | |
| Destructor for the Zombie class. | |
| void | announce (void) |
| Announces the zombie. | |
| Zombie::Zombie | ( | ) |
Default constructor for the Zombie class.
Initializes a Zombie object with the default name "default".
Zombie.cpp の 25 行目に定義があります。
| Zombie::Zombie | ( | std::string | name | ) |
Parameterized constructor for the Zombie class.
Initializes a Zombie object with the given name.
| name | The name of the zombie. |
Zombie.cpp の 34 行目に定義があります。
| Zombie::~Zombie | ( | ) |
Destructor for the Zombie class.
Prints a message indicating the zombie has been destroyed.
Zombie.cpp の 41 行目に定義があります。
| Zombie::Zombie | ( | ) |
Default constructor for the Zombie class.
| Zombie::Zombie | ( | std::string | name | ) |
Parameterized constructor for the Zombie class.
| Zombie::~Zombie | ( | ) |
Destructor for the Zombie class.
| void Zombie::announce | ( | void | ) |
Announces the zombie.
Prints the zombie's name followed by "BraiiiiiiinnnzzzZ...".
Zombie.cpp の 48 行目に定義があります。
| void Zombie::announce | ( | void | ) |
Announces the zombie.