37 lines
1.3 KiB
C++
37 lines
1.3 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* Zombie.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/04/20 13:50:12 by erey-bet #+# #+# */
|
|
/* Updated: 2023/04/20 16:34:05 by erey-bet ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef ZOMBIE_HPP
|
|
# define ZOMBIE_HPP
|
|
|
|
# include <string>
|
|
# include <iostream>
|
|
# include <ostream>
|
|
|
|
class Zombie {
|
|
public:
|
|
Zombie();
|
|
Zombie(std::string name);
|
|
~Zombie();
|
|
void announce(void);
|
|
void setName(std::string name);
|
|
|
|
private:
|
|
std::string name;
|
|
};
|
|
|
|
Zombie* newZombie(std::string name);
|
|
void randomChump(std::string name);
|
|
Zombie* zombieHorde(int N, std::string name);
|
|
|
|
#endif
|