diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-04-13 10:33:05 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-04-13 10:33:05 +0200 |
| commit | 0f3240844dbd5a874e1565a988ef355ededab6a5 (patch) | |
| tree | efc1a1307863d173be17a12fbab6b84fe7d00960 /cpp01/ex02/ZombieEvent.hpp | |
| parent | 629d52b1262879a346e9ca17567a8f483c60ba0a (diff) | |
| download | piscine_cpp-0f3240844dbd5a874e1565a988ef355ededab6a5.tar.gz piscine_cpp-0f3240844dbd5a874e1565a988ef355ededab6a5.tar.bz2 piscine_cpp-0f3240844dbd5a874e1565a988ef355ededab6a5.zip | |
Fixing cpp01
Diffstat (limited to 'cpp01/ex02/ZombieEvent.hpp')
| -rw-r--r-- | cpp01/ex02/ZombieEvent.hpp | 29 |
1 files changed, 21 insertions, 8 deletions
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 <charles.cabergs@gmail.com> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* 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 <string> -#include "Zombie.hpp" +# include <string> +# include <cstdlib> +# 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 |
