public class PirateBaseRumorBarEvent extends BaseBarEvent
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
done |
protected FullName.Gender |
gender |
protected PirateBaseIntel |
intel |
protected PersonAPI |
person |
protected long |
seed |
dialog, memoryMap, noContinue, options, shownAt, text| Constructor and Description |
|---|
PirateBaseRumorBarEvent(PirateBaseIntel intel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPromptAndOption(InteractionDialogAPI dialog,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
void |
init(InteractionDialogAPI dialog,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
boolean |
isAlwaysShow() |
boolean |
isDialogFinished() |
void |
optionSelected(java.lang.String optionText,
java.lang.Object optionData) |
boolean |
shouldRemoveEvent() |
boolean |
shouldShowAtMarket(MarketAPI market) |
protected boolean |
showCargoCap() |
advance, endWithContinue, getBarEventId, getShownAt, wasShownAtMarketprotected PirateBaseIntel intel
protected long seed
protected transient boolean done
protected transient FullName.Gender gender
public PirateBaseRumorBarEvent(PirateBaseIntel intel)
public boolean isAlwaysShow()
isAlwaysShow in interface PortsideBarEventisAlwaysShow in class BaseBarEventpublic boolean shouldShowAtMarket(MarketAPI market)
shouldShowAtMarket in interface PortsideBarEventshouldShowAtMarket in class BaseBarEventpublic boolean shouldRemoveEvent()
shouldRemoveEvent in interface PortsideBarEventshouldRemoveEvent in class BaseBarEventpublic void addPromptAndOption(InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
addPromptAndOption in interface PortsideBarEventaddPromptAndOption in class BaseBarEventpublic void init(InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
init in interface PortsideBarEventinit in class BaseBarEventpublic void optionSelected(java.lang.String optionText, java.lang.Object optionData)
optionSelected in interface PortsideBarEventoptionSelected in class BaseBarEventpublic boolean isDialogFinished()
isDialogFinished in interface PortsideBarEventisDialogFinished in class BaseBarEventprotected boolean showCargoCap()