-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathZombie.cpp
More file actions
33 lines (27 loc) · 1.19 KB
/
Zombie.cpp
File metadata and controls
33 lines (27 loc) · 1.19 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
31
32
33
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Zombie.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ysoroko <ysoroko@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/09/20 20:55:39 by ysoroko #+# #+# */
/* Updated: 2021/09/20 20:55:39 by ysoroko ### ########.fr */
/* */
/* ************************************************************************** */
#include "Zombie.hpp"
void Zombie::announce( void ) const
{
std::cout << this->_name << " " << "BraiiiiiiinnnzzzZ..." << std::endl;
}
Zombie::Zombie(std::string name) : _name(name)
{
announce();
}
Zombie::Zombie()
{
}
Zombie::~Zombie()
{
std::cout << "R.I.P " << this->_name << std::endl;
}