Class DuelDialogDelegate
java.lang.Object
com.fs.starfarer.api.impl.campaign.eventide.DuelDialogDelegate
- All Implemented Interfaces:
CustomVisualDialogDelegate
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.campaign.CustomVisualDialogDelegate
CustomVisualDialogDelegate.DialogCallbacks
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InteractionDialogAPI
protected DuelPanel
protected float
protected boolean
protected String
protected boolean
-
Constructor Summary
ConstructorsConstructorDescriptionDuelDialogDelegate
(String musicId, DuelPanel duelPanel, InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap, boolean tutorialMode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount) float
void
init
(CustomPanelAPI panel, CustomVisualDialogDelegate.DialogCallbacks callbacks) void
reportDismissed
(int option)
-
Field Details
-
callbacks
-
endDelay
protected float endDelay -
finished
protected boolean finished -
musicId
-
duelPanel
-
dialog
-
memoryMap
-
tutorialMode
protected boolean tutorialMode
-
-
Constructor Details
-
DuelDialogDelegate
public DuelDialogDelegate(@Deprecated String musicId, DuelPanel duelPanel, InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap, boolean tutorialMode)
-
-
Method Details
-
getCustomPanelPlugin
- Specified by:
getCustomPanelPlugin
in interfaceCustomVisualDialogDelegate
-
init
- Specified by:
init
in interfaceCustomVisualDialogDelegate
-
getNoiseAlpha
public float getNoiseAlpha()- Specified by:
getNoiseAlpha
in interfaceCustomVisualDialogDelegate
-
advance
public void advance(float amount) - Specified by:
advance
in interfaceCustomVisualDialogDelegate
-
reportDismissed
public void reportDismissed(int option) - Specified by:
reportDismissed
in interfaceCustomVisualDialogDelegate
-