aboutsummaryrefslogtreecommitdiff
path: root/cpp01/ex02/main.cpp
blob: 1df20d2a34691ee1c7d0b88c7b60af33846c3f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <cstdlib>
#include "Zombie.hpp"
#include "ZombieEvent.hpp"

int main()
{
	Zombie *z;
	ZombieEvent zevent;

	srand(time(NULL));
	zevent.setZombieType("standard");
	z = zevent.newZombie("jean");
	delete z;
	for (int i = 0; i < 5; i++)
	{
		z = zevent.randomChump();
		delete z;
	}
	return 0;
}