ItemStack.h 339 B

123456789101112131415161718
  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. int getSize() const;
  13. int getMaxSize() const;
  14. };