mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-25 15:23:37 +00:00
18 lines
487 B
C++
18 lines
487 B
C++
#pragma once
|
|
#include "AbstractBeaconButton.h"
|
|
#include "../../../Minecraft.World/Headers/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;
|
|
}; |