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