public class ComponentPolaroid extends GuiComponent
| Modifier and Type | Field | Description |
|---|---|---|
boolean |
canConstruct |
|
boolean |
isSelected |
|
ICompendiumRecipe |
recipe |
| Constructor | Description |
|---|---|
ComponentPolaroid(Gui gui,
ICompendiumRecipe recipe,
boolean canConstruct) |
| Modifier and Type | Method | Description |
|---|---|---|
ResourceName |
getName() |
|
protected ItemInstance |
getOutput(IGameInstance game) |
|
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
|
void |
renderOverlay(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
|
boolean |
shouldDoFingerCursor(IGameInstance game) |
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, onMouseAction, setActive, setPos, toString, update, updateInactivepublic final ICompendiumRecipe recipe
public final boolean canConstruct
public boolean isSelected
public ComponentPolaroid(Gui gui, ICompendiumRecipe recipe, boolean canConstruct)
public ResourceName getName()
getName in class GuiComponentpublic void render(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y)
render in class GuiComponentpublic void renderOverlay(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y)
renderOverlay in class GuiComponentprotected ItemInstance getOutput(IGameInstance game)
public boolean shouldDoFingerCursor(IGameInstance game)
shouldDoFingerCursor in class GuiComponent