ItemStack.h 384 B

1234567891011121314151617181920
  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. Item* zItem() const;
  16. };