1package com.fs.starfarer.api.impl.campaign.intel.misc;
4import java.util.ArrayList;
8import com.fs.starfarer.api.campaign.FactionAPI;
9import com.fs.starfarer.api.campaign.SectorEntityToken;
10import com.fs.starfarer.api.impl.campaign.ids.Tags;
11import com.fs.starfarer.api.ui.SectorMapAPI;
12import com.fs.starfarer.api.ui.TooltipMakerAPI;
13import com.fs.starfarer.api.util.Misc;
47 super.reportRemovedIntel();
54 SectorEntityToken copy = entity.getContainingLocation().createToken(entity.getLocation().x, entity.getLocation().y);
55 if (entity.getOrbit() !=
null) {
56 copy.setOrbit(entity.getOrbit().makeCopy());
86 Color h = Misc.getHighlightColor();
87 Color g = Misc.getGrayColor();
88 Color tc = Misc.getTextColor();
92 info.addPara(
text, opad);
98 addDays(info,
"ago.", days, tc, opad);
106 return super.getIcon();
111 Set<String> tags = super.getIntelTags(map);
112 tags.add(Tags.INTEL_EXPLORATION);
126 return super.getFactionForUIColors();
136 return target.getStarSystem().getCenter();
143 return super.shouldRemoveIntel();
157 if (showPlanet !=
null && !showPlanet) showPlanet =
null;
159 this.showSpecificEntity = showPlanet;
163 if (
foundAt ==
null)
return null;
165 List<ArrowData> result =
new ArrayList<ArrowData>();
167 if (
foundAt.getContainingLocation() ==
target.getContainingLocation() &&
168 foundAt.getContainingLocation() !=
null &&
169 !
foundAt.getContainingLocation().isHyperspace()) {
static String getSoundMinorMessage()
void addDays(TooltipMakerAPI info, String after, float days)
void addDeleteButton(TooltipMakerAPI info, float width)
float getDaysSincePlayerVisible()
Color getTitleColor(ListInfoMode mode)
void reportRemovedIntel()
void createIntelInfo(TooltipMakerAPI info, ListInfoMode mode)
static SectorEntityToken makeDoubleWithSameOrbit(SectorEntityToken entity)
String getSmallDescriptionTitle()
BreadcrumbIntel(SectorEntityToken foundAt, SectorEntityToken target)
void setTitle(String title)
Set< String > getIntelTags(SectorMapAPI map)
void setText(String text)
List< ArrowData > getArrowData(SectorMapAPI map)
SectorEntityToken getMapLocation(SectorMapAPI map)
Boolean showSpecificEntity
void setShowSpecificEntity(Boolean showPlanet)
String getCommMessageSound()
FactionAPI getFactionForUIColors()
boolean shouldRemoveIntel()
SectorEntityToken foundAt
Boolean getShowSpecificEntity()
void createSmallDescription(TooltipMakerAPI info, float width, float height)
void setRemoveTrigger(SectorEntityToken removeTrigger)