initial commit
[COMP345---Clone.git] / Monster.h
blobf476f0f595a8a9fb302b319a6ced3aa9be52a399
1 #pragma once
2 //!@file Monster.h
3 //! @brief Declaration of DnD monster class
4 //!
5 //! This class is a monster that the character will combat
6 //! It contains all basic stats that a monster has in D20
8 //! declares class variables, accessors and mutators
9 class Monster
11 public:
12 Monster();
13 Monster(int m_level);
14 ~Monster();
15 int getHealth() { return hitpoints; }
16 int getAttack() { return attack; }
17 void setHealth(int newHealth) { hitpoints = newHealth; }
18 void setAttack(int newAttack) { attack= newAttack; }
19 void setLevel(int newLevel) { level = newLevel; }
20 void levelUpStats(int m_level);
21 int getLevel() { return level; };
22 private:
23 int hitpoints;
24 int attack;
25 int level;
26 int str;
27 int dex;
28 int con;
29 int wis;
30 int cha;
31 int intel;