mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 21:13:38 +00:00
19 lines
467 B
C++
19 lines
467 B
C++
#pragma once
|
|
#include <memory>
|
|
#include "AbstractContainerScreen.h"
|
|
class DispenserTileEntity;
|
|
class Inventory;
|
|
|
|
class TrapScreen : public AbstractContainerScreen {
|
|
public:
|
|
TrapScreen(std::shared_ptr<Inventory> inventory,
|
|
std::shared_ptr<DispenserTileEntity> trap);
|
|
|
|
protected:
|
|
virtual void renderLabels();
|
|
virtual void renderBg(float a);
|
|
|
|
private:
|
|
std::shared_ptr<Inventory> inventory;
|
|
std::shared_ptr<DispenserTileEntity> trap;
|
|
}; |