Class BaseBarEvent
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.bar.events.BaseBarEvent
- All Implemented Interfaces:
PortsideBarEvent
- Direct Known Subclasses:
BaseBarEventWithPerson
,BaseGetCommodityBarEvent
,HistorianBarEvent
,HubMissionBarEventWrapper
,PirateBaseRumorBarEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InteractionDialogAPI
protected boolean
protected boolean
protected OptionPanelAPI
protected MarketAPI
protected TextPanelAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPromptAndOption
(InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap) void
advance
(float amount) boolean
void
init
(InteractionDialogAPI dialog, Map<String, MemoryAPI> memoryMap) boolean
boolean
void
optionSelected
(String optionText, Object optionData) boolean
boolean
shouldShowAtMarket
(MarketAPI market) void
wasShownAtMarket
(MarketAPI market)
-
Field Details
-
dialog
-
text
-
options
-
memoryMap
-
noContinue
protected transient boolean noContinue -
done
protected transient boolean done -
shownAt
-
-
Constructor Details
-
BaseBarEvent
public BaseBarEvent()
-
-
Method Details
-
isAlwaysShow
public boolean isAlwaysShow()- Specified by:
isAlwaysShow
in interfacePortsideBarEvent
-
init
- Specified by:
init
in interfacePortsideBarEvent
-
getBarEventId
- Specified by:
getBarEventId
in interfacePortsideBarEvent
-
endWithContinue
public boolean endWithContinue()- Specified by:
endWithContinue
in interfacePortsideBarEvent
-
isDialogFinished
public boolean isDialogFinished()- Specified by:
isDialogFinished
in interfacePortsideBarEvent
-
optionSelected
- Specified by:
optionSelected
in interfacePortsideBarEvent
-
advance
public void advance(float amount) - Specified by:
advance
in interfacePortsideBarEvent
-
shouldRemoveEvent
public boolean shouldRemoveEvent()- Specified by:
shouldRemoveEvent
in interfacePortsideBarEvent
-
shouldShowAtMarket
- Specified by:
shouldShowAtMarket
in interfacePortsideBarEvent
-
addPromptAndOption
- Specified by:
addPromptAndOption
in interfacePortsideBarEvent
-
wasShownAtMarket
- Specified by:
wasShownAtMarket
in interfacePortsideBarEvent
-
getShownAt
-