23 lines
1.0 KiB
C++
23 lines
1.0 KiB
C++
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* newZombie.cpp :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2024/11/04 14:42:36 by adjoly #+# #+# */
|
||
|
/* Updated: 2024/11/04 14:49:42 by adjoly ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include <iostream>
|
||
|
#include "Zombie.hpp"
|
||
|
|
||
|
Zombie *newZombie(std::string name) {
|
||
|
Zombie *zombie;
|
||
|
|
||
|
zombie = new Zombie(name);
|
||
|
|
||
|
return (zombie);
|
||
|
}
|