blob: 0d0e0eca05f5e6f2d6ad8074c90cab205fcc197c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ZombieEvent.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/13 09:42:36 by charles #+# #+# */
/* Updated: 2020/11/09 10:10:57 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef ZOMBIE_EVENT_HPP
# define ZOMBIE_EVENT_HPP
# include <string>
# include <cstdlib>
# include "Zombie.hpp"
class ZombieEvent
{
public:
void setZombieType(std::string const& type);
Zombie* newZombie(std::string name); // subject prototype without const&
Zombie* randomChump();
private:
std::string m_storedType;
};
#endif
|