Class RewardItemClient
java.lang.Object
org.cyclops.cyclopscore.infobook.pageelement.RewardItemClient
- All Implemented Interfaces:
IRewardClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateButton(IInfoBook infoBook) voiddrawElementInner(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my, AdvancedButton button) Draw the reward.
-
Constructor Details
-
RewardItemClient
-
-
Method Details
-
createButton
- Specified by:
createButtonin interfaceIRewardClient- Parameters:
infoBook- The infobook instance.- Returns:
- Factory for a button for this reward.
-
drawElementInner
public void drawElementInner(ScreenInfoBook gui, net.minecraft.client.gui.GuiGraphics guiGraphics, int x, int y, int width, int height, int page, int mx, int my, AdvancedButton button) Description copied from interface:IRewardClientDraw the reward.- Specified by:
drawElementInnerin interfaceIRewardClient- Parameters:
gui- The gui.guiGraphics- The gui graphics object.x- Start X.y- Start Y.width- Max width.height- Max height.page- Current page.mx- Mouse X.my- Mouse Y.button- The button of this reward.
-