22 #ifndef ASYLUM_RESOURCES_INVENTORY_H 23 #define ASYLUM_RESOURCES_INVENTORY_H 25 #include "common/serializer.h" 26 #include "common/stream.h" 28 #include "asylum/asylum.h" 36 uint find(uint item = 0)
const;
37 void add(uint item, uint multipleIncr);
38 void remove(uint item, uint multipleDecr);
39 bool contains(uint item, uint multiple)
const;
42 uint getSelectedItem()
const {
return _selectedItem; }
43 void selectItem(uint item) { _selectedItem = item; }
48 uint32 &operator[](uint index) {
return _items[index]; }
62 #endif // ASYLUM_RESOURCES_INVENTORY_H Definition: inventory.h:32
Definition: serializer.h:79
Definition: serializer.h:308