Class PolaroidComponent
java.lang.Object
de.ellpeck.rockbottom.api.gui.component.GuiComponent
de.ellpeck.rockbottom.api.gui.component.construction.PolaroidComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanstatic final ResourceNamebooleanfinal ICompendiumRecipe -
Constructor Summary
ConstructorsConstructorDescriptionPolaroidComponent(Gui gui, ICompendiumRecipe recipe, boolean canConstruct) PolaroidComponent(Gui gui, ICompendiumRecipe recipe, boolean canConstruct, ResourceName tex) -
Method Summary
Modifier and TypeMethodDescriptiongetName()protected ItemInstancegetOutput(IGameInstance game) static PolaroidComponentgetUnknown(Gui gui, ResourceName tex) voidrender(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y) voidrenderOverlay(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y) booleanMethods inherited from class de.ellpeck.rockbottom.api.gui.component.GuiComponent
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, onMouseAction, setActive, setPos, toString, update, updateInactive
-
Field Details
-
DEFAULT_TEX
-
recipe
-
canConstruct
public final boolean canConstruct -
isSelected
public boolean isSelected
-
-
Constructor Details
-
PolaroidComponent
-
PolaroidComponent
-
-
Method Details
-
getUnknown
-
getName
- Specified by:
getNamein classGuiComponent
-
render
- Overrides:
renderin classGuiComponent
-
renderOverlay
- Overrides:
renderOverlayin classGuiComponent
-
getOutput
-
shouldDoFingerCursor
- Overrides:
shouldDoFingerCursorin classGuiComponent
-