22 lines
280 B
C++
22 lines
280 B
C++
|
|
#ifndef ZOMBIE_HPP
|
||
|
|
#define ZOMBIE_HPP
|
||
|
|
|
||
|
|
#include <string>
|
||
|
|
|
||
|
|
class Zombie {
|
||
|
|
public:
|
||
|
|
Zombie();
|
||
|
|
Zombie(std::string name);
|
||
|
|
~Zombie();
|
||
|
|
|
||
|
|
void announce(void);
|
||
|
|
void setName(std::string name);
|
||
|
|
|
||
|
|
private:
|
||
|
|
std::string name;
|
||
|
|
};
|
||
|
|
|
||
|
|
Zombie *zombieHorde(int n, std::string name);
|
||
|
|
|
||
|
|
#endif
|