/ CPP_Modules / CPP_Module_01 / ex00 / Zombie.hpp
Zombie.hpp
 1  /* ************************************************************************** */
 2  /*                                                                            */
 3  /*                                                        :::      ::::::::   */
 4  /*   Zombie.hpp                                         :+:      :+:    :+:   */
 5  /*                                                    +:+ +:+         +:+     */
 6  /*   By: gychoi <gychoi@student.42seoul.kr>         +#+  +:+       +#+        */
 7  /*                                                +#+#+#+#+#+   +#+           */
 8  /*   Created: 2023/07/24 20:24:28 by gychoi            #+#    #+#             */
 9  /*   Updated: 2023/07/25 16:38:41 by gychoi           ###   ########.fr       */
10  /*                                                                            */
11  /* ************************************************************************** */
12  
13  #pragma once
14  #ifndef __ZOMBIE_H__
15  #define __ZOMBIE_H__
16  
17  #include <iostream>
18  #include <string>
19  
20  class	Zombie
21  {
22  	public:
23  		Zombie(const std::string& name);
24  		~Zombie();
25  		void	announce(void);
26  
27  	private:
28  		std::string	_name;
29  };
30  
31  Zombie*	newZombie(std::string name);
32  void	randomChump(std::string name);
33  
34  #endif