public class ComponentPolaroid extends GuiComponent
| Modifier and Type | Field and Description |
|---|---|
boolean |
canConstruct |
static ResourceName |
DEFAULT_TEX |
boolean |
isSelected |
ICompendiumRecipe |
recipe |
| Constructor and Description |
|---|
ComponentPolaroid(Gui gui,
ICompendiumRecipe recipe,
boolean canConstruct) |
ComponentPolaroid(Gui gui,
ICompendiumRecipe recipe,
boolean canConstruct,
ResourceName tex) |
| Modifier and Type | Method and Description |
|---|---|
ResourceName |
getName() |
protected ItemInstance |
getOutput(IGameInstance game) |
static ComponentPolaroid |
getUnknown(Gui gui,
ResourceName tex) |
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 static final ResourceName DEFAULT_TEX
public final ICompendiumRecipe recipe
public final boolean canConstruct
public boolean isSelected
public ComponentPolaroid(Gui gui, ICompendiumRecipe recipe, boolean canConstruct, ResourceName tex)
public ComponentPolaroid(Gui gui, ICompendiumRecipe recipe, boolean canConstruct)
public static ComponentPolaroid getUnknown(Gui gui, ResourceName tex)
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