4jcraft/Minecraft.Client/UI/Screens/HopperScreen.h

21 lines
495 B
C++

#pragma once
#include <memory>
#include "AbstractContainerScreen.h"
class HopperTileEntity;
class MinecartHopper;
class Inventory;
class HopperScreen : public AbstractContainerScreen {
public:
HopperScreen(std::shared_ptr<Inventory> inventory,
std::shared_ptr<Container> hopper);
protected:
virtual void renderLabels() override;
virtual void renderBg(float a) override;
private:
std::shared_ptr<Inventory> inventory;
std::shared_ptr<Container> hopper;
};