]>
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 - Gold
26 unsigned long int Gold(void) const;
27 //! Property set - Gold
28 void Gold(const unsigned long int &value
);
30 //! Property get - Health
31 int Health(void) const;
32 //! Property set - Health
33 void Health(const int &value
);
35 //! Property get - Max Health
36 int MaxHealth(void) const;
37 //! Property set - Max Health
38 void MaxHealth(const int &value
);
40 //! Property get - Strength
41 int Strength(void) const;
42 //! Property set - Strength
43 void Strength(const int &value
);
45 //! Property get - Defense
46 int Defense(void) const;
47 //! Property set - Defense
48 void Defense(const int &value
);
50 //! Property get - Weapon Name
51 string
WeaponName(void) const;
53 //! Property set - Weapon Name
54 void WeaponName(const string
&value
);
56 //! Property get - Death Cry
57 string
DeathCry(void) const;
59 //! Property set - Death Cry
60 void DeathCry(const string
&value
);
62 bool operator==(const MonsterGO
&right
) const;
63 bool operator!=(const MonsterGO
&right
) const;
65 virtual MonsterGO
*Clone(void) const;
67 virtual ObjectTypes::ObjectType
ObjectType(void) const;
71 unsigned long int mGold
;
79 }}} // GameServ::GameLayer::GameObjects