mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 16:24:11 +00:00
21 lines
495 B
C++
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;
|
|
}; |