]>
jfr.im git - irc/gameservirc.git/blob - gameserv-2.0/libgameservgldl/include/GameServ/GameLayer/GameObjects/WeaponGO.h
1 #ifndef __GS__WEAPON_H__
2 #define __GS__WEAPON_H__
7 #include <GameServ/GameLayer/GameObjects/GameObject.h>
8 using GameServ::GameLayer::GameObjects::GameObject
;
9 #include <GameServ/GameLayer/GameObjects/ItemGO.h>
10 using GameServ::GameLayer::GameObjects::ItemGO
;
12 namespace GameServ
{ namespace GameLayer
{ namespace GameObjects
{
14 class WeaponGO
: public ItemGO
18 WeaponGO(const string
&name
, const int &price
, const int &uses
, const int &strength
, const int &defense
, const int &maxhealth
);
21 virtual ItemTypes::ItemType
Type(void) const;
22 virtual ItemGO
*Clone(void) const;