]>
Commit | Line | Data |
---|---|---|
317ce8de | 1 | #ifndef __GS__POTION_H__\r |
2 | #define __GS__POTION_H__\r | |
3 | \r | |
4 | #include <GameServ/GameLayer/GameObjects/GameObject.h>\r | |
5 | using GameServ::GameLayer::GameObjects::GameObject;\r | |
6 | #include <GameServ/GameLayer/GameObjects/ItemGO.h>\r | |
7 | using GameServ::GameLayer::GameObjects::ItemGO;\r | |
8 | \r | |
9 | \r | |
10 | namespace GameServ { namespace GameLayer { namespace GameObjects {\r | |
11 | \r | |
12 | class PotionGO : public ItemGO\r | |
13 | {\r | |
14 | public:\r | |
15 | PotionGO();\r | |
23f6e925 | 16 | PotionGO(const string &name, const int &price, const int &uses, const int &strength, const int &defense, const int &maxhealth);\r |
317ce8de | 17 | virtual ~PotionGO();\r |
18 | \r | |
1134c368 | 19 | virtual ItemTypes::ItemType Type(void) const;\r |
99c0151e | 20 | virtual ItemGO *Clone(void) const;\r |
1134c368 | 21 | \r |
317ce8de | 22 | private:\r |
23 | };\r | |
24 | \r | |
25 | }}}\r | |
26 | #endif\r |