]>
Commit | Line | Data |
---|---|---|
551b6a1d | 1 | #ifndef __GS__WEAPON_H__\r |
2 | #define __GS__WEAPON_H__\r | |
3 | \r | |
07e8dab5 | 4 | #include <string>\r |
5 | using std::string;\r | |
6 | \r | |
9c917833 | 7 | #include <GameServ/GameLayer/GameObjects/GameObject.h>\r |
8 | using GameServ::GameLayer::GameObjects::GameObject;\r | |
9 | #include <GameServ/GameLayer/GameObjects/ItemGO.h>\r | |
10 | using GameServ::GameLayer::GameObjects::ItemGO;\r | |
11 | \r | |
551b6a1d | 12 | namespace GameServ { namespace GameLayer { namespace GameObjects {\r |
13 | \r | |
14 | class WeaponGO : public ItemGO\r | |
15 | {\r | |
16 | public:\r | |
17 | WeaponGO();\r | |
23f6e925 | 18 | WeaponGO(const string &name, const int &price, const int &uses, const int &strength, const int &defense, const int &maxhealth);\r |
e0d3cb09 | 19 | virtual ~WeaponGO();\r |
551b6a1d | 20 | \r |
21 | private:\r | |
22 | };\r | |
23 | \r | |
24 | }}}\r | |
25 | #endif |