diff options
Diffstat (limited to 'src/gui/shop.h')
-rw-r--r-- | src/gui/shop.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/shop.h b/src/gui/shop.h index 0736003b..006c0146 100644 --- a/src/gui/shop.h +++ b/src/gui/shop.h @@ -73,11 +73,16 @@ class ShopItems : public gcn::ListModel ITEM_SHOP at(int i); /** - * Clear the vector and delete the pictures' instances. + * Clear the vector. */ void clear(); -// private: // This is to be readded as soon as the sell dialog is redone. + /** + * Direct access to the vector + */ + std::vector<ITEM_SHOP> getShop(); + + private: std::vector<ITEM_SHOP> mItemsShop; }; |