]> jfr.im git - irc/gameservirc.git/blob - gameserv-2.0/libgameservgldl/include/GameServ/GameLayer/GameObjects/MonsterGO.h
Consolidated all the individual level files into a single levels.dat file.
[irc/gameservirc.git] / gameserv-2.0 / libgameservgldl / include / GameServ / GameLayer / GameObjects / MonsterGO.h
1 #ifndef __GS__MONSTER_H__
2 #define __GS__MONSTER_H__
3 #include <GameServ/GameLayer/GameObjects/GameObject.h>
4 using GameServ::GameLayer::GameObjects::GameObject;
5
6 #include <string>
7 using std::string;
8
9 namespace GameServ { namespace GameLayer { namespace GameObjects
10 {
11 class MonsterGO : public GameObject
12 {
13 public:
14
15 MonsterGO();
16 MonsterGO(const string &Id);
17
18 virtual ~MonsterGO();
19
20 //! Property get - Name
21 string Name(void) const;
22 //! Property set - Name
23 void Name(const string &value);
24
25 //! Property get - Level
26 unsigned int Level(void) const;
27 //! Property set - Level
28 void Level(const unsigned int &value);
29
30 //! Property get - Gold
31 unsigned long int Gold(void) const;
32 //! Property set - Gold
33 void Gold(const unsigned long int &value);
34
35 //! Property get - Health
36 unsigned int Health(void) const;
37 //! Property set - Health
38 void Health(const unsigned int &value);
39
40 //! Property get - Max Health
41 unsigned int MaxHealth(void) const;
42 //! Property set - Max Health
43 void MaxHealth(const unsigned int &value);
44
45 //! Property get - Strength
46 unsigned int Strength(void) const;
47 //! Property set - Strength
48 void Strength(const unsigned int &value);
49
50 //! Property get - Defense
51 unsigned int Defense(void) const;
52 //! Property set - Defense
53 void Defense(const unsigned int &value);
54
55 //! Property get - Weapon Name
56 string WeaponName(void) const;
57
58 //! Property set - Weapon Name
59 void WeaponName(const string &value);
60
61 //! Property get - Death Cry
62 string DeathCry(void) const;
63
64 //! Property set - Death Cry
65 void DeathCry(const string &value);
66
67 bool operator==(const MonsterGO &right) const;
68 bool operator!=(const MonsterGO &right) const;
69
70 virtual MonsterGO *Clone(void) const;
71
72 virtual ObjectTypes::ObjectType ObjectType(void) const;
73
74 private:
75 void Initialize(void);
76
77 string mName;
78 unsigned int mLevel;
79 unsigned long int mGold;
80 unsigned int mHealth;
81 unsigned int mMaxHealth;
82 unsigned int mStrength;
83 unsigned int mDefense;
84 string mWeaponName;
85 string mDeathCry;
86 };
87 }}} // GameServ::GameLayer::GameObjects
88 #endif