/ CPP_Modules / CPP_Module_01 / ex00 / newZombie.cpp
newZombie.cpp
 1  /* ************************************************************************** */
 2  /*                                                                            */
 3  /*                                                        :::      ::::::::   */
 4  /*   newZombie.cpp                                      :+:      :+:    :+:   */
 5  /*                                                    +:+ +:+         +:+     */
 6  /*   By: gychoi <gychoi@student.42seoul.kr>         +#+  +:+       +#+        */
 7  /*                                                +#+#+#+#+#+   +#+           */
 8  /*   Created: 2023/07/24 20:26:35 by gychoi            #+#    #+#             */
 9  /*   Updated: 2023/07/24 22:10:53 by gychoi           ###   ########.fr       */
10  /*                                                                            */
11  /* ************************************************************************** */
12  
13  #include "Zombie.hpp"
14  
15  Zombie*	newZombie(std::string name)
16  {
17  	Zombie*	zombie = new Zombie(name);
18  	return (zombie);
19  }