Class DuelTutorialPanel
java.lang.Object
com.fs.starfarer.api.campaign.BaseCustomUIPanelPlugin
com.fs.starfarer.api.impl.campaign.eventide.DuelTutorialPanel
- All Implemented Interfaces:
CustomUIPanelPlugin
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DuelTutorialPanel.TutStage
protected InteractionDialogAPI
protected FaderUtil
protected TooltipMakerAPI
protected PositionAPI
protected CustomPanelAPI
protected boolean
protected float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount) getPanel()
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
(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
(String actionId) void
showNext()
Methods inherited from class com.fs.starfarer.api.campaign.BaseCustomUIPanelPlugin
buttonPressed
-
Field Details
-
dialog
-
callbacks
-
panel
-
p
-
curr
-
info
-
untilNext
protected float untilNext -
triggeredNext
protected boolean triggeredNext -
flash
-
-
Constructor Details
-
DuelTutorialPanel
public DuelTutorialPanel()
-
-
Method Details
-
init
public void init(CustomPanelAPI panel, CustomVisualDialogDelegate.DialogCallbacks callbacks, InteractionDialogAPI dialog) -
showNext
public void showNext() -
reportAction
-
getPanel
-
getPosition
-
positionChanged
Description copied from interface:CustomUIPanelPlugin
Called whenever the location or size of this UI panel changes.- Specified by:
positionChanged
in interfaceCustomUIPanelPlugin
- Overrides:
positionChanged
in classBaseCustomUIPanelPlugin
-
render
public void render(float alphaMult) Description copied from interface:CustomUIPanelPlugin
alphaMult is the transparency the panel should be rendered at.- Specified by:
render
in interfaceCustomUIPanelPlugin
- Overrides:
render
in classBaseCustomUIPanelPlugin
-
renderBelow
public void renderBelow(float alphaMult) Description copied from interface:CustomUIPanelPlugin
Below any UI elements in the panel.- Specified by:
renderBelow
in interfaceCustomUIPanelPlugin
- Overrides:
renderBelow
in classBaseCustomUIPanelPlugin
-
advance
public void advance(float amount) - Specified by:
advance
in interfaceCustomUIPanelPlugin
- Overrides:
advance
in classBaseCustomUIPanelPlugin
- Parameters:
amount
- in seconds.
-
processInput
Description copied from interface:CustomUIPanelPlugin
List of input events that occurred this frame. (Almost) always includes one mouse move event. Events should be consume()d if they are acted on. Mouse-move events should generally not be consumed. The loop processing events should check to see if an event has already been consumed, and if so, skip it. Accessing the data of a consumed event will throw an exception.- Specified by:
processInput
in interfaceCustomUIPanelPlugin
- Overrides:
processInput
in classBaseCustomUIPanelPlugin
-