-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWolves.h
More file actions
35 lines (29 loc) · 797 Bytes
/
Wolves.h
File metadata and controls
35 lines (29 loc) · 797 Bytes
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
32
33
34
35
#ifndef WOLVES_H
#define WOLVES_H
#include <iostream>
#include "Citizen.h"
#include <vector>
#include <algorithm> //vector erase method
class Wolf{
protected:
std::string name;
std::string furColour;
std::string className;
std::string classChar;
public:
Wolf(std::string name, std::string furColour, std::string className = "WOLF", std::string classChar = "HAIRY");
virtual void Howl();
virtual void Growl();
std::string GetName(){
return name;
}
std::string GetFurColour(){
return furColour;
}
std::string GetClass(){
return className;
}
bool CauseDamage(Citizen &c, std::vector<Citizen*> &base, std::vector<Citizen*> &casualties);
virtual ~Wolf();
};
#endif // WOLVES_H