24 #ifndef GUI_MODELS_SHOPITEMS_H
25 #define GUI_MODELS_SHOPITEMS_H
59 const std::string ¤cy);
122 void erase(
const unsigned int i);
129 void del(
const unsigned int i);
ShopItems(const bool mergeDuplicates, const std::string ¤cy)
std::vector< ShopItem * > mAllShopItems
ShopItem * addItemNoDup(const int id, const ItemTypeT type, const ItemColor color, const int amount, const int price)
std::vector< ShopItem * > & allItems()
std::string getElementAt(int i)
std::vector< ShopItem * > & items()
void del(const unsigned int i)
ShopItem * addItem2(const int inventoryIndex, const int id, const ItemTypeT type, const ItemColor color, const int amount, const int price)
ShopItem * addItem(const int id, const ItemTypeT type, const ItemColor color, const int amount, const int price)
void erase(const unsigned int i)
int getNumberOfElements()
std::vector< ShopItem * > mShopItems
void setMergeDuplicates(const bool b)
bool findInAllItems(std::vector< ShopItem * >::iterator &it, const ShopItem *const item)
ShopItem * findItem(const int id, const ItemColor color) const
ShopItem * at(const size_t i) const
#define A_DELETE_COPY(func)