public class BaseBarEvent extends java.lang.Object implements PortsideBarEvent
| Modifier and Type | Field and Description |
|---|---|
protected InteractionDialogAPI |
dialog |
protected boolean |
done |
protected java.util.Map<java.lang.String,MemoryAPI> |
memoryMap |
protected boolean |
noContinue |
protected OptionPanelAPI |
options |
protected MarketAPI |
shownAt |
protected TextPanelAPI |
text |
| Constructor and Description |
|---|
BaseBarEvent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPromptAndOption(InteractionDialogAPI dialog,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
void |
advance(float amount) |
boolean |
endWithContinue() |
java.lang.String |
getBarEventId() |
MarketAPI |
getShownAt() |
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) |
void |
wasShownAtMarket(MarketAPI market) |
protected transient InteractionDialogAPI dialog
protected transient TextPanelAPI text
protected transient OptionPanelAPI options
protected transient boolean noContinue
protected transient boolean done
public BaseBarEvent()
public boolean isAlwaysShow()
isAlwaysShow in interface PortsideBarEventpublic void init(InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
init in interface PortsideBarEventpublic java.lang.String getBarEventId()
getBarEventId in interface PortsideBarEventpublic boolean endWithContinue()
endWithContinue in interface PortsideBarEventpublic boolean isDialogFinished()
isDialogFinished in interface PortsideBarEventpublic void optionSelected(java.lang.String optionText, java.lang.Object optionData)
optionSelected in interface PortsideBarEventpublic void advance(float amount)
advance in interface PortsideBarEventpublic boolean shouldRemoveEvent()
shouldRemoveEvent in interface PortsideBarEventpublic boolean shouldShowAtMarket(MarketAPI market)
shouldShowAtMarket in interface PortsideBarEventpublic void addPromptAndOption(InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
addPromptAndOption in interface PortsideBarEventpublic void wasShownAtMarket(MarketAPI market)
wasShownAtMarket in interface PortsideBarEventpublic MarketAPI getShownAt()