-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmonster.h
More file actions
42 lines (31 loc) · 832 Bytes
/
monster.h
File metadata and controls
42 lines (31 loc) · 832 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
36
37
38
39
40
41
42
#ifndef MOONSTER_H
#define MOONSTER_H
#include <iostream>
#include <string>
using namespace std;
class Monster
{
public:
Monster();
Monster(string name, string weakness, int health, int power, int reward, int exp);
void setName(string name);
void setWeakness(string weakness);
void setHealth(int health);
void setPower(int power);
void setReward(int reward);
void setExp(int exp);
string getName() const;
string getWeakness() const;
int getHealth() const;
int getPower() const;
int getReward() const;
int getExp() const;
private:
string Name;
string Weakness;
int Health;
int Power;
int Reward;
int Exp;
};
#endif