//! Property set - Alive\r
void Alive(const bool &value);\r
\r
- //! Property set - Inventory\r
- void Inventory(const vector< shared_ptr<ItemGO> > &items);\r
-\r
- //! Property get - Inventory\r
- vector< shared_ptr<ItemGO> > Inventory(void) const;\r
-\r
- //! Add item to inventory\r
- void AddItemToInventory(shared_ptr<ItemGO> spItem);\r
- //! Remove item from inventory\r
- void RemoveItemFromInventory(shared_ptr<ItemGO> spItem);\r
-\r
bool operator==(const PlayerGO &right) const;\r
bool operator!=(const PlayerGO &right) const;\r
\r
\r
bool mFoughtMaster;\r
bool mAlive;\r
-\r
- vector< shared_ptr<ItemGO> > mItems;\r
};\r
}}} // GameServ::GameLayer::GameObjects\r
#endif
\ No newline at end of file