mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-09 00:07:13 +00:00
22 lines
760 B
C++
22 lines
760 B
C++
#pragma once
|
|
#include <memory>
|
|
#include "AbstractContainerScreen.h"
|
|
#include "../../../Minecraft.World/Headers/net.minecraft.world.entity.animal.h"
|
|
|
|
class HorseInventoryScreen : public AbstractContainerScreen {
|
|
public:
|
|
HorseInventoryScreen(std::shared_ptr<Inventory> inventory,
|
|
std::shared_ptr<Container> horseContainer,
|
|
std::shared_ptr<EntityHorse> horse);
|
|
|
|
virtual void init() override;
|
|
virtual void renderLabels() override;
|
|
virtual void renderBg(float a) override;
|
|
virtual void render(int xm, int ym, float a) override;
|
|
|
|
private:
|
|
std::shared_ptr<Inventory> inventory;
|
|
std::shared_ptr<Container> horseContainer;
|
|
std::shared_ptr<EntityHorse> horse;
|
|
float xMouse, yMouse;
|
|
}; |