]>
jfr.im git - irc/gameservirc.git/blob - gameserv-2.0/libgameservgldl/include/GameServ/GameLayer/GameObjects/MasterGO.h
1 #ifndef __GS__MASTER_H__
2 #define __GS__MASTER_H__
3 #include <GameServ/GameLayer/GameObjects/GameObject.h>
4 using GameServ::GameLayer::GameObjects::GameObject
;
9 namespace GameServ
{ namespace GameLayer
{ namespace GameObjects
11 class MasterGO
: public GameObject
16 MasterGO(const string
&Id
);
20 //! Property set - Alive
21 void Alive(const bool &value
);
22 //! Property get - Alive
23 bool Alive(void) const;
25 //! Property set - Level
26 void Level(const unsigned int &value
);
27 //! Property get - Level
28 unsigned int Level(void) const;
30 //! Property get - Name
31 string
Name(void) const;
32 //! Property set - Name
33 void Name(const string
&value
);
35 //! Property get - Gold
36 unsigned long int Gold(void) const;
37 //! Property set - Gold
38 void Gold(const unsigned long int &value
);
40 //! Property get - Experience
41 unsigned long int Experience(void) const;
42 //! Property set - Experience
43 void Experience(const unsigned long int &value
);
45 //! Property get - Health
46 int Health(void) const;
47 //! Property set - Health
48 void Health(const int &value
);
50 //! Property get - Max Health
51 int MaxHealth(void) const;
52 //! Property set - Max Health
53 void MaxHealth(const int &value
);
55 //! Property get - Strength
56 int Strength(void) const;
57 //! Property set - Strength
58 void Strength(const int &value
);
60 //! Property get - Defense
61 int Defense(void) const;
62 //! Property set - Defense
63 void Defense(const int &value
);
65 //! Property get - Weapon Name
66 string
WeaponName(void) const;
68 //! Property set - Weapon Name
69 void WeaponName(const string
&value
);
71 //! Property get - Death Cry
72 string
PartingWords(void) const;
74 //! Property set - Death Cry
75 void PartingWords(const string
&value
);
77 bool operator==(const MasterGO
&right
) const;
78 bool operator!=(const MasterGO
&right
) const;
80 virtual MasterGO
*Clone(void) const;
82 virtual ObjectTypes::ObjectType
ObjectType(void) const;
88 unsigned long int mGold
;
89 unsigned long int mExperience
;
97 }}} // GameServ::GameLayer::GameObjects