mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-11 05:27:12 +00:00
29 lines
764 B
C++
29 lines
764 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#include "AbstractContainerScreen.h"
|
|
#include "minecraft/world/inventory/BrewingStandMenu.h"
|
|
|
|
|
|
class BrewingStandMenu;
|
|
class BrewingStandTileEntity;
|
|
class Inventory;
|
|
|
|
class BrewingStandScreen : public AbstractContainerScreen {
|
|
public:
|
|
BrewingStandScreen(std::shared_ptr<Inventory> inventory,
|
|
std::shared_ptr<BrewingStandTileEntity> brewingStand);
|
|
virtual ~BrewingStandScreen();
|
|
|
|
void init() override;
|
|
void removed() override;
|
|
void renderLabels() override;
|
|
void renderBg(float a) override;
|
|
void render(int xm, int ym, float a) override;
|
|
|
|
private:
|
|
std::shared_ptr<Inventory> inventory;
|
|
std::shared_ptr<BrewingStandTileEntity> brewingStand;
|
|
BrewingStandMenu* brewMenu;
|
|
}; |