From 7d6a4c877de8048ec5fbea4a563b3d09c8976105 Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 12 Jan 2020 20:20:12 +0100 Subject: cpp01 00 -> 04 --- cpp01/ex02/ZombieEvent.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cpp01/ex02/ZombieEvent.hpp (limited to 'cpp01/ex02/ZombieEvent.hpp') diff --git a/cpp01/ex02/ZombieEvent.hpp b/cpp01/ex02/ZombieEvent.hpp new file mode 100644 index 0000000..869207e --- /dev/null +++ b/cpp01/ex02/ZombieEvent.hpp @@ -0,0 +1,18 @@ +#ifndef ZOMBIE_EVENT_HPP +# define ZOMBIE_EVENT_HPP + +#include +#include "Zombie.hpp" + +class ZombieEvent +{ + public: + void setZombieType(std::string type); + Zombie *newZombie(std::string name); + Zombie *randomChump(); + + private: + std::string stored_type; +}; + +#endif -- cgit