From 0f3240844dbd5a874e1565a988ef355ededab6a5 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 13 Apr 2020 10:33:05 +0200 Subject: Fixing cpp01 --- cpp01/ex02/ZombieEvent.hpp | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'cpp01/ex02/ZombieEvent.hpp') diff --git a/cpp01/ex02/ZombieEvent.hpp b/cpp01/ex02/ZombieEvent.hpp index 869207e..7b2fe79 100644 --- a/cpp01/ex02/ZombieEvent.hpp +++ b/cpp01/ex02/ZombieEvent.hpp @@ -1,18 +1,31 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ZombieEvent.hpp :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: charles +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/04/13 09:42:36 by charles #+# #+# */ +/* Updated: 2020/04/13 09:45:36 by charles ### ########.fr */ +/* */ +/* ************************************************************************** */ + #ifndef ZOMBIE_EVENT_HPP # define ZOMBIE_EVENT_HPP -#include -#include "Zombie.hpp" +# include +# include +# include "Zombie.hpp" class ZombieEvent { - public: - void setZombieType(std::string type); - Zombie *newZombie(std::string name); - Zombie *randomChump(); +public: + void setZombieType(std::string type); + Zombie* newZombie(std::string name); + Zombie* randomChump(); - private: - std::string stored_type; +private: + std::string m_storedType; }; #endif -- cgit