#pragma once #include "AbstractContainerMenu.h" class HopperMenu : public AbstractContainerMenu { private: std::shared_ptr hopper; public: static const int CONTENTS_SLOT_START = 0; static const int INV_SLOT_START = CONTENTS_SLOT_START + 5; static const int INV_SLOT_END = INV_SLOT_START + 9 * 3; static const int USE_ROW_SLOT_START = INV_SLOT_END; static const int USE_ROW_SLOT_END = USE_ROW_SLOT_START + 9; public: HopperMenu(std::shared_ptr inventory, std::shared_ptr hopper); bool stillValid(std::shared_ptr player); std::shared_ptr quickMoveStack(std::shared_ptr player, int slotIndex); void removed(std::shared_ptr player); std::shared_ptr getContainer(); };