cpp01...
This commit is contained in:
22
ex00/Zombie/newZombie.cpp
Normal file
22
ex00/Zombie/newZombie.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* newZombie.cpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/05 17:04:19 by aortigos #+# #+# */
|
||||
/* Updated: 2025/09/06 01:19:33 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "Zombie.hpp"
|
||||
|
||||
Zombie* newZombie( std::string name )
|
||||
{
|
||||
Zombie *z;
|
||||
|
||||
z = new Zombie(name);
|
||||
|
||||
return (z);
|
||||
}
|
||||
Reference in New Issue
Block a user