]> jfr.im git - irc/gameservirc.git/blob - gameserv-2.0/libgameservgldl/include/GameServ/GameLayer/GameObjects/PotionGO.h
Finally figured out how to do the Item cloning properly... no more ItemCloner class...
[irc/gameservirc.git] / gameserv-2.0 / libgameservgldl / include / GameServ / GameLayer / GameObjects / PotionGO.h
1 #ifndef __GS__POTION_H__
2 #define __GS__POTION_H__
3
4 #include <GameServ/GameLayer/GameObjects/GameObject.h>
5 using GameServ::GameLayer::GameObjects::GameObject;
6 #include <GameServ/GameLayer/GameObjects/ItemGO.h>
7 using GameServ::GameLayer::GameObjects::ItemGO;
8
9
10 namespace GameServ { namespace GameLayer { namespace GameObjects {
11
12 class PotionGO : public ItemGO
13 {
14 public:
15 PotionGO();
16 PotionGO(const string &name, const int &price, const int &uses, const int &strength, const int &defense, const int &maxhealth);
17 virtual ~PotionGO();
18
19 virtual ItemTypes::ItemType Type(void) const;
20 virtual ItemGO *Clone(void) const;
21
22 private:
23 };
24
25 }}}
26 #endif