aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex03/ZombieHorde.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp01/ex03/ZombieHorde.hpp')
-rw-r--r--cpp01/ex03/ZombieHorde.hpp28
1 files changed, 21 insertions, 7 deletions
diff --git a/cpp01/ex03/ZombieHorde.hpp b/cpp01/ex03/ZombieHorde.hpp
index 772bcc0..991c2ec 100644
--- a/cpp01/ex03/ZombieHorde.hpp
+++ b/cpp01/ex03/ZombieHorde.hpp
@@ -1,18 +1,32 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ZombieHorde.hpp :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/04/13 09:52:18 by charles #+# #+# */
+/* Updated: 2020/04/13 09:59:53 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
#ifndef ZOMBIE_HORDE_HPP
# define ZOMBIE_HORDE_HPP
+# include <cstdlib>
+# include <string>
# include "Zombie.hpp"
class ZombieHorde
{
- public:
- ZombieHorde(int size);
- void announce();
- ~ZombieHorde();
+public:
+ ZombieHorde(int n);
+ ~ZombieHorde();
+ void announce();
- private:
- int horde_size;
- Zombie **horde;
+private:
+ size_t m_size;
+ Zombie** m_horde;
};
#endif