-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathZombie.cpp
More file actions
26 lines (21 loc) · 1.13 KB
/
Zombie.cpp
File metadata and controls
26 lines (21 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Zombie.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zelhajou <zelhajou@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/06 10:03:56 by zelhajou #+# #+# */
/* Updated: 2024/06/06 11:52:27 by zelhajou ### ########.fr */
/* */
/* ************************************************************************** */
#include "Zombie.hpp"
Zombie::Zombie(std::string name) {
this->name = name;
}
Zombie::~Zombie() {
std::cout << "Zombie: " << name << " is dead" << std::endl;
}
void Zombie::announce() const {
std::cout << name << ": BraiiiiiiinnnzzzZ..." << std::endl;
}