public class BaseBarEventIntel extends BaseIntelPlugin implements PortsideBarEvent
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData
Modifier and Type | Field and Description |
---|---|
protected InteractionDialogAPI |
dialog |
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, timestamp
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
Constructor and Description |
---|
BaseBarEventIntel() |
Modifier and Type | Method and Description |
---|---|
void |
addPromptAndOption(InteractionDialogAPI dialog,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
boolean |
endWithContinue() |
java.lang.String |
getBarEventId() |
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) |
addBulletPoints, addBulletPoints, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addMarketTable, addMarketToList, addMarketToList, advanceImpl, autoAddCampaignMessage, bullet, buttonPressCancelled, buttonPressConfirmed, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createIntelInfo, createLargeDescription, createSmallDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getFactionForUIColors, getIcon, getImportantIcon, getIntelTags, getListInfoParam, getMapLocation, getName, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSmallDescriptionTitle, getSortString, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, getTimeRemainingFraction, getTitleColor, hasImportantButton, hasLargeDescription, hasSmallDescription, indent, isDone, isEnded, isEnding, isHidden, isImportant, isNew, isPlayerVisible, isSendingUpdate, notifyEnded, notifyEnding, notifyPlayerAboutToOpenIntelScreen, reportMadeVisibleToPlayer, reportPlayerClickedOn, reportRemovedIntel, runWhilePaused, sendUpdate, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, sendUpdateIfPlayerHasIntel, setForceAddNextFrame, setHidden, setImportant, setListInfoParam, setNew, setPlayerVisibleTimestamp, setPostingLocation, setPostingRangeLY, setPostingRangeLY, shouldRemoveIntel, storyActionConfirmed, tableRowClicked, unindent
protected transient InteractionDialogAPI dialog
public void init(InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
init
in interface PortsideBarEvent
public boolean endWithContinue()
endWithContinue
in interface PortsideBarEvent
public boolean isDialogFinished()
isDialogFinished
in interface PortsideBarEvent
public void optionSelected(java.lang.String optionText, java.lang.Object optionData)
optionSelected
in interface PortsideBarEvent
public void advance(float amount)
EveryFrameScript
advance
in interface EveryFrameScript
advance
in interface PortsideBarEvent
advance
in class BaseIntelPlugin
amount
- seconds elapsed during the last frame.public boolean shouldRemoveEvent()
shouldRemoveEvent
in interface PortsideBarEvent
public boolean shouldShowAtMarket(MarketAPI market)
shouldShowAtMarket
in interface PortsideBarEvent
public void addPromptAndOption(InteractionDialogAPI dialog, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
addPromptAndOption
in interface PortsideBarEvent
public void wasShownAtMarket(MarketAPI market)
wasShownAtMarket
in interface PortsideBarEvent
public java.lang.String getBarEventId()
getBarEventId
in interface PortsideBarEvent
public boolean isAlwaysShow()
isAlwaysShow
in interface PortsideBarEvent
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.