Zombie.hpp 1.2 KB

123456789101112131415161718192021222324252627282930
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* Zombie.hpp :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2025/07/15 13:42:27 by bchanot #+# #+# */
  9. /* Updated: 2025/07/15 14:47:35 by bchanot ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #include <iostream>
  13. class Zombie {
  14. public:
  15. Zombie(std::string name);
  16. Zombie(void);
  17. ~Zombie(void);
  18. void announce(void) const;
  19. void setZombie(std::string name);
  20. private:
  21. std::string _name;
  22. };
  23. Zombie *newZombie( std::string name);
  24. void randomChump( std::string name );
  25. Zombie *zombieHorde( int N, std::string name );