public class FactionHostilityIntel extends BaseIntelPlugin
IntelInfoPlugin.ArrowData, IntelInfoPlugin.IntelSortTier, IntelInfoPlugin.ListInfoMode, IntelInfoPlugin.TableRowClickData
Modifier and Type | Field and Description |
---|---|
static float |
CHECK_INTERVAL |
protected float |
daysUntilCheck |
static float |
END_PROB |
protected java.lang.String |
id |
protected float |
initialRelationship |
static Logger |
log |
static float |
MIN_DAYS |
protected FactionAPI |
one |
protected java.util.Random |
random |
protected FactionAPI |
two |
BULLET, BUTTON_DELETE, ended, ending, endingTimeRemaining, forceAdd, hidden, important, INDENT, listInfoParam, neverClicked, postingLocation, postingRangeLY, timestamp
LIST_ITEM_TEXT_WIDTH, NEW_DAYS
Constructor and Description |
---|
FactionHostilityIntel(FactionAPI one,
FactionAPI two) |
Modifier and Type | Method and Description |
---|---|
protected void |
addBulletPoints(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
protected void |
advanceImpl(float amount) |
void |
createIntelInfo(TooltipMakerAPI info,
IntelInfoPlugin.ListInfoMode mode) |
void |
createSmallDescription(TooltipMakerAPI info,
float width,
float height) |
void |
endHostilties() |
FactionAPI |
getFactionForUIColors() |
java.lang.String |
getIcon()
40x40, no icon if null.
|
java.lang.String |
getId() |
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() |
FactionAPI |
getOne() |
java.lang.String |
getSmallDescriptionTitle() |
java.lang.String |
getSortString() |
FactionAPI |
getTwo() |
addBulletPoints, addDays, addDays, addDays, addDeleteButton, addDeleteButton, addGenericButton, addGenericButton, addMarketTable, addMarketToList, addMarketToList, advance, autoAddCampaignMessage, bullet, buttonPressCancelled, buttonPressConfirmed, callEvent, canMakeVisible, canMakeVisibleToCommSniffer, canMakeVisibleToPlayer, canTurnImportantOff, createConfirmationPrompt, createDeleteConfirmationPrompt, createLargeDescription, doesButtonHaveConfirmDialog, endAfterDelay, endAfterDelay, endImmediately, forceAddNextFrame, getArrowData, getBackgroundGlowColor, getBaseDaysAfterEnd, getBulletColorForMode, getButtonStoryPointActionDelegate, getCancelText, getCircleBorderColorOverride, getCommMessageSound, getCommRelayRange, getConfirmationPromptWidth, getConfirmText, getDays, getDaysSincePlayerVisible, getDaysString, getImportantIcon, getListInfoParam, getPlayerVisibleTimestamp, getPostingLocation, getPostingRangeLY, 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
public static Logger log
public static final float MIN_DAYS
public static final float CHECK_INTERVAL
public static final float END_PROB
protected FactionAPI one
protected FactionAPI two
protected java.lang.String id
protected float daysUntilCheck
protected float initialRelationship
protected java.util.Random random
public FactionHostilityIntel(FactionAPI one, FactionAPI two)
public void endHostilties()
protected void advanceImpl(float amount)
advanceImpl
in class BaseIntelPlugin
public java.lang.String getId()
public FactionAPI getOne()
public FactionAPI getTwo()
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 BaseIntelPlugin
public SectorEntityToken getMapLocation(SectorMapAPI map)
getMapLocation
in interface IntelInfoPlugin
getMapLocation
in class BaseIntelPlugin
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.