public class DuelTutorialPanel extends BaseCustomUIPanelPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
DuelTutorialPanel.TutStage |
| Modifier and Type | Field and Description |
|---|---|
protected CustomVisualDialogDelegate.DialogCallbacks |
callbacks |
protected DuelTutorialPanel.TutStage |
curr |
protected InteractionDialogAPI |
dialog |
protected FaderUtil |
flash |
protected TooltipMakerAPI |
info |
protected PositionAPI |
p |
protected CustomPanelAPI |
panel |
protected boolean |
triggeredNext |
protected float |
untilNext |
| Constructor and Description |
|---|
DuelTutorialPanel() |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount) |
CustomPanelAPI |
getPanel() |
PositionAPI |
getPosition() |
void |
init(CustomPanelAPI panel,
CustomVisualDialogDelegate.DialogCallbacks callbacks,
InteractionDialogAPI dialog) |
void |
positionChanged(PositionAPI position)
Called whenever the location or size of this UI panel changes.
|
void |
processInput(java.util.List<InputEventAPI> events)
List of input events that occurred this frame.
|
void |
render(float alphaMult)
alphaMult is the transparency the panel should be rendered at.
|
void |
renderBelow(float alphaMult)
Below any UI elements in the panel.
|
void |
reportAction(java.lang.String actionId) |
void |
showNext() |
buttonPressedprotected InteractionDialogAPI dialog
protected CustomVisualDialogDelegate.DialogCallbacks callbacks
protected CustomPanelAPI panel
protected PositionAPI p
protected DuelTutorialPanel.TutStage curr
protected TooltipMakerAPI info
protected float untilNext
protected boolean triggeredNext
public DuelTutorialPanel()
public void init(CustomPanelAPI panel, CustomVisualDialogDelegate.DialogCallbacks callbacks, InteractionDialogAPI dialog)
public void showNext()
public void reportAction(java.lang.String actionId)
public CustomPanelAPI getPanel()
public PositionAPI getPosition()
public void positionChanged(PositionAPI position)
CustomUIPanelPluginpositionChanged in interface CustomUIPanelPluginpositionChanged in class BaseCustomUIPanelPluginpublic void render(float alphaMult)
CustomUIPanelPluginrender in interface CustomUIPanelPluginrender in class BaseCustomUIPanelPluginpublic void renderBelow(float alphaMult)
CustomUIPanelPluginrenderBelow in interface CustomUIPanelPluginrenderBelow in class BaseCustomUIPanelPluginpublic void advance(float amount)
advance in interface CustomUIPanelPluginadvance in class BaseCustomUIPanelPluginamount - in seconds.public void processInput(java.util.List<InputEventAPI> events)
CustomUIPanelPluginprocessInput in interface CustomUIPanelPluginprocessInput in class BaseCustomUIPanelPlugin