]>
jfr.im git - irc/gameservirc.git/blob - 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
;
9 namespace GameServ
{ namespace GameLayer
{ namespace GameObjects
11 class MonsterGO
: public GameObject
16 MonsterGO(const string
&Id
);
20 //! Property get - Name
21 string
Name(void) const;
22 //! Property set - Name
23 void Name(const string
&value
);
25 //! Property get - Level
26 string
LevelId(void) const;
27 //! Property set - Level
28 void LevelId(const string
&value
);
30 //! Property get - Gold
31 unsigned long int Gold(void) const;
32 //! Property set - Gold
33 void Gold(const unsigned long int &value
);
35 //! Property get - Experience
36 unsigned long int Experience(void) const;
37 //! Property set - Experience
38 void Experience(const unsigned long int &value
);
40 //! Property get - Health
41 unsigned int Health(void) const;
42 //! Property set - Health
43 void Health(const unsigned int &value
);
45 //! Property get - Max Health
46 unsigned int MaxHealth(void) const;
47 //! Property set - Max Health
48 void MaxHealth(const unsigned int &value
);
50 //! Property get - Strength
51 unsigned int Strength(void) const;
52 //! Property set - Strength
53 void Strength(const unsigned int &value
);
55 //! Property get - Defense
56 unsigned int Defense(void) const;
57 //! Property set - Defense
58 void Defense(const unsigned int &value
);
60 //! Property get - Weapon Name
61 string
WeaponName(void) const;
63 //! Property set - Weapon Name
64 void WeaponName(const string
&value
);
66 //! Property get - Death Cry
67 string
DeathCry(void) const;
69 //! Property set - Death Cry
70 void DeathCry(const string
&value
);
72 //! Property get - Alive
73 bool Alive(void) const;
74 //! Property set - Alive
75 void Alive(const bool &value
);
77 bool operator==(const MonsterGO
&right
) const;
78 bool operator!=(const MonsterGO
&right
) const;
80 virtual MonsterGO
*Clone(void) const;
82 virtual ObjectTypes::ObjectType
ObjectType(void) const;
85 void Initialize(void);
89 unsigned long int mGold
;
90 unsigned long int mExperience
;
92 unsigned int mMaxHealth
;
93 unsigned int mStrength
;
94 unsigned int mDefense
;
99 }}} // GameServ::GameLayer::GameObjects