ItemStack.h 358 B

12345678910111213141516171819
  1. #pragma once
  2. #include "Item.h"
  3. class ItemStack : public virtual Framework::ReferenceCounter
  4. {
  5. private:
  6. Item* item;
  7. int size;
  8. int maxSize;
  9. public:
  10. ItemStack( Item* item, int currentSize, int maxSize );
  11. ItemStack( Item* item, int currentSize );
  12. ~ItemStack();
  13. int getSize() const;
  14. int getMaxSize() const;
  15. };