d01 ex00 ok
This commit is contained in:
13
d01/ex00/Zombie.cpp
Normal file
13
d01/ex00/Zombie.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "Zombie.hpp"
|
||||
|
||||
Zombie::Zombie( std::string name ) {
|
||||
this->_name = name;
|
||||
std::cout << this->_name << " has been created" << std::endl;
|
||||
}
|
||||
Zombie::~Zombie() {
|
||||
std::cout << this->_name << " has been destroyed" << std::endl;
|
||||
}
|
||||
|
||||
void Zombie::announce( void ) {
|
||||
std::cout << this->_name << ": BraiiiiiiinnnzzzZ..." << std::endl;
|
||||
}
|
||||
Reference in New Issue
Block a user