4jcraft/Minecraft.Client/net/minecraft/client/gui/inventory/BeaconPowerButton.h

18 lines
515 B
C++

#pragma once
#include "AbstractBeaconButton.h"
#include "../../../../../../Minecraft.World/net/minecraft/world/effect/net.minecraft.world.effect.h"
class BeaconScreen;
class BeaconPowerButton : public AbstractBeaconButton {
public:
BeaconPowerButton(BeaconScreen* screen, int id, int x, int y, int effectId,
int tier);
void renderTooltip(int xm, int ym) override;
bool isSelected() const { return selected; }
private:
BeaconScreen* screen;
int effectId;
int tier;
};