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) 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) Draw the reward.
-
Constructor Details
-
RewardItemClient
-
-
Method Details
-
createButton
- Specified by:
createButton
in 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:IRewardClient
Draw the reward.- Specified by:
drawElementInner
in 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.
-