mirror of
https://github.com/Ladebeze66/cpp-partie-1.git
synced 2025-12-15 21:57:03 +01:00
20 lines
1013 B
C++
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);
|
|
} |