cpp-partie-1/cpp01/ex00/newZombie.cpp
2024-02-20 15:35:19 +01:00

20 lines
1013 B
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* newZombie.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/24 13:38:34 by fgras-ca #+# #+# */
/* Updated: 2023/12/24 13:46:55 by fgras-ca ### ########.fr */
/* */
/* ************************************************************************** */
#include "Zombie.hpp"
Zombie* newZombie(std::string name)
{
Zombie *z = new Zombie();
z->setname(name);
return (z);
}