-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathZombie.cpp
More file actions
30 lines (25 loc) · 1.15 KB
/
Zombie.cpp
File metadata and controls
30 lines (25 loc) · 1.15 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
26
27
28
29
30
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Zombie.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: zelhajou <zelhajou@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/06 11:41:35 by zelhajou #+# #+# */
/* Updated: 2024/06/06 12:30:56 by zelhajou ### ########.fr */
/* */
/* ************************************************************************** */
#include "Zombie.hpp"
Zombie::Zombie() {};
Zombie::~Zombie()
{
std::cout << this->name << " destroyed" << std::endl;
}
void Zombie::setName(std::string name)
{
this->name = name;
}
void Zombie::announce() const
{
std::cout << this->name << ": BraiiiiiiinnnzzzZ..." << std::endl;
}