diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/shop.cpp | 5 | ||||
-rw-r--r-- | src/gui/shop.h | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/shop.cpp b/src/gui/shop.cpp index c5e257da..2a7ea0ce 100644 --- a/src/gui/shop.cpp +++ b/src/gui/shop.cpp @@ -45,11 +45,6 @@ void ShopItems::addItem(int id, int amount, int price) mShopItems.push_back(new ShopItem(id, amount, price)); } -void ShopItems::addItem(ShopItem* shopItem) -{ - mShopItems.push_back(shopItem); -} - ShopItem* ShopItems::at(int i) { return mShopItems.at(i); diff --git a/src/gui/shop.h b/src/gui/shop.h index 281f4c6d..f4329b4d 100644 --- a/src/gui/shop.h +++ b/src/gui/shop.h @@ -47,11 +47,6 @@ class ShopItems : public gcn::ListModel void addItem(int id, int amount, int price); /** - * Convenience function for adding items. - */ - void addItem(ShopItem* shopItem); - - /** * Returns the number of items in the shop. */ int getNumberOfElements(); |