public class ComponentPolaroid extends GuiComponent
| Modifier and Type | Field | Description |
|---|---|---|
boolean |
canConstruct |
|
boolean |
isSelected |
|
IRecipe |
recipe |
| Constructor | Description |
|---|---|
ComponentPolaroid(Gui gui,
IRecipe recipe,
boolean canConstruct) |
| Modifier and Type | Method | Description |
|---|---|---|
IResourceName |
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 boolean isSelected
public final IRecipe recipe
public final boolean canConstruct
public IResourceName 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