public class SurveyPlanetMissionIntel extends BaseMissionIntel implements SurveyPlanetListener
BaseMissionIntel.MissionResult, BaseMissionIntel.MissionState
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData
Modifier and Type | Field and Description |
---|---|
protected FactionAPI |
faction |
static Logger |
log |
protected MarketAPI |
market |
protected PlanetAPI |
planet |
protected int |
reward |
BUTTON_ABANDON, BUTTON_ACCEPT, duration, elapsedDays, missionResult, missionState, randomCancel, randomCancelProb
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, timestamp
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
Constructor and Description |
---|
SurveyPlanetMissionIntel(PlanetAPI planet) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBulletPoints(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
void |
advanceMission(float amount) |
boolean |
callEvent(java.lang.String ruleId,
InteractionDialogAPI dialog,
java.util.List<Misc.Token> params,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
protected BaseMissionIntel.MissionResult |
createAbandonedResult(boolean withPenalty) |
void |
createIntelInfo(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
void |
createSmallDescription(TooltipMakerAPI info,
float width,
float height) |
protected BaseMissionIntel.MissionResult |
createTimeRanOutFailedResult() |
void |
endMission() |
FactionAPI |
getFactionForUIColors() |
java.lang.String |
getIcon()
40x40, no icon if null.
|
java.util.Set<java.lang.String> |
getIntelTags(SectorMapAPI map)
Method NEEDS to handle map being null gracefully.
|
SectorEntityToken |
getMapLocation(SectorMapAPI map) |
java.lang.String |
getName() |
PlanetAPI |
getPlanet() |
java.lang.String |
getSmallDescriptionTitle() |
java.lang.String |
getSortString() |
void |
missionAccepted() |
void |
reportPlayerSurveyedPlanet(PlanetAPI planet) |
addAbandonButton, addAbandonButton, addAcceptButton, addAcceptButton, addAcceptOrAbandonButton, addAcceptOrAbandonButton, addGenericMissionState, advanceImpl, buttonPressConfirmed, canAbandonWithoutPenalty, cancel, createCancelledResult, createConfirmationPrompt, doesButtonHaveConfirmDialog, getDuration, getElapsedDays, getImportantIcon, getMissionResult, getMissionState, getMissionTypeNoun, getNoPenaltyAbandonDays, getPostfixForState, getTimeRemainingFraction, initRandomCancel, initRandomCancel, isAbandoned, isAccepted, isCancelled, isCompleted, isFailed, isPosted, setDuration, setElapsedDays, setMissionResult, setMissionState, shouldRemoveIntel
addBulletPoints, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createDeleteConfirmationPrompt, createLargeDescription, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, getSortTier, getSoundColonyThreat, getSoundLogUpdate, getSoundMajorPosting, getSoundMinorMessage, getSoundStandardPosting, getSoundStandardUpdate, 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, storyActionConfirmed, tableRowClicked, unindent
public static Logger log
protected int reward
protected FactionAPI faction
protected MarketAPI market
protected PlanetAPI planet
public SurveyPlanetMissionIntel(PlanetAPI planet)
public PlanetAPI getPlanet()
protected BaseMissionIntel.MissionResult createAbandonedResult(boolean withPenalty)
createAbandonedResult
in class BaseMissionIntel
protected BaseMissionIntel.MissionResult createTimeRanOutFailedResult()
createTimeRanOutFailedResult
in class BaseMissionIntel
public void missionAccepted()
missionAccepted
in class BaseMissionIntel
public void endMission()
endMission
in class BaseMissionIntel
public void advanceMission(float amount)
advanceMission
in class BaseMissionIntel
public boolean callEvent(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
callEvent
in interface CallEvent.CallableEvent
callEvent
in class BaseIntelPlugin
public void reportPlayerSurveyedPlanet(PlanetAPI planet)
reportPlayerSurveyedPlanet
in interface SurveyPlanetListener
protected void addBulletPoints(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
addBulletPoints
in class BaseIntelPlugin
public void createIntelInfo(TooltipMakerAPI info, IntelInfoPlugin.ListInfoMode mode)
createIntelInfo
in interface IntelInfoPlugin
createIntelInfo
in class BaseIntelPlugin
public java.lang.String getSortString()
getSortString
in interface IntelInfoPlugin
getSortString
in class BaseIntelPlugin
public java.lang.String getName()
getName
in class BaseIntelPlugin
public FactionAPI getFactionForUIColors()
getFactionForUIColors
in interface IntelInfoPlugin
getFactionForUIColors
in class BaseIntelPlugin
public java.lang.String getSmallDescriptionTitle()
getSmallDescriptionTitle
in interface IntelInfoPlugin
getSmallDescriptionTitle
in class BaseIntelPlugin
public void createSmallDescription(TooltipMakerAPI info, float width, float height)
createSmallDescription
in interface IntelInfoPlugin
createSmallDescription
in class BaseIntelPlugin
public java.lang.String getIcon()
IntelInfoPlugin
getIcon
in interface IntelInfoPlugin
getIcon
in class BaseIntelPlugin
public java.util.Set<java.lang.String> getIntelTags(SectorMapAPI map)
IntelInfoPlugin
getIntelTags
in interface IntelInfoPlugin
getIntelTags
in class BaseMissionIntel
public SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation
in interface IntelInfoPlugin
getMapLocation
in class BaseIntelPlugin
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.