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() |
|
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, updatepublic 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 GuiComponentpublic boolean shouldDoFingerCursor(IGameInstance game)
shouldDoFingerCursor in class GuiComponent