\r
#include <GameServ/Types.h>\r
using GameServ::Types::ObjectTypes;\r
+using GameServ::Types::Range;\r
\r
#include <boost/smart_ptr/shared_ptr.hpp>\r
using boost::shared_ptr;\r
\r
virtual ~LevelGO();\r
\r
- bool operator==(const LevelGO &right) const;\r
- bool operator!=(const LevelGO &right) const;\r
-\r
virtual LevelGO *Clone(void) const;\r
\r
virtual ObjectTypes::ObjectType ObjectType(void) const;\r
\r
- //! Property set - Master\r
- void Master(shared_ptr<MasterGO> spMaster);\r
+ //! Property set - Level number\r
+ void Number(const unsigned int &value);\r
\r
- //! Property get - Master\r
- shared_ptr<MasterGO> Master(void) const;\r
+ //! Property get - Level number\r
+ unsigned int Number(void) const;\r
\r
- //! Property set - Monster list\r
- void Monsters(const vector< shared_ptr<MonsterGO> > &spMonsters);\r
+ //! Property set - Strength Range\r
+ void StrengthRange(const Range &value);\r
+ //! Property get - Strength Range\r
+ Range StrengthRange(void) const;\r
\r
- //! Property get - Monster List\r
- vector< shared_ptr<MonsterGO> > Monsters(void) const;\r
\r
- //! Remove a monster from the list\r
- void RemoveMonster(shared_ptr<MonsterGO> spMonster);\r
+ //! Property set - Defense Range\r
+ void DefenseRange(const Range &value);\r
+ //! Property get - Defense Range\r
+ Range DefenseRange(void) const;\r
\r
- //! Add a monster to the list\r
- void AddMonster(shared_ptr<MonsterGO> spMonster);\r
+ //! Property set - Gold Range\r
+ void GoldRange(const Range &value);\r
+ //! Property get - Gold Range\r
+ Range GoldRange(void) const;\r
+\r
+ //! Property set - Experience Range\r
+ void ExperienceRange(const Range &value);\r
+ //! Property get - Experience Range\r
+ Range ExperienceRange(void) const;\r
\r
- private:\r
\r
- vector< shared_ptr<MonsterGO> > mspMonsters;\r
- shared_ptr<MasterGO> mspMaster;\r
+ //! Property set - Health Range\r
+ void HealthRange(const Range &value);\r
+ //! Property get - Health Range\r
+ Range HealthRange(void) const;\r
+\r
\r
+ private:\r
+ unsigned int mNumber;\r
+ Range mStrength;\r
+ Range mDefense;\r
+ Range mGold;\r
+ Range mExperience;\r
+ Range mHealth;\r
};\r
}}} // GameServ::GameLayer::GameObjects\r
#endif
\ No newline at end of file