Starsector API
Loading...
Searching...
No Matches
HTBlackHoleFactor.java
Go to the documentation of this file.
1package com.fs.starfarer.api.impl.campaign.intel.events.ht;
2
3import com.fs.starfarer.api.impl.campaign.intel.events.BaseEventIntel;
4import com.fs.starfarer.api.impl.campaign.intel.events.BaseFactorTooltip;
5import com.fs.starfarer.api.impl.campaign.intel.events.BaseOneTimeFactor;
6import com.fs.starfarer.api.ui.TooltipMakerAPI;
7import com.fs.starfarer.api.ui.TooltipMakerAPI.TooltipCreator;
8
13@Deprecated public class HTBlackHoleFactor extends BaseOneTimeFactor {
14
18
19 @Override
20 public String getDesc(BaseEventIntel intel) {
21 return "Black hole scanned";
22 }
23
24 @Override
25 public TooltipCreator getMainRowTooltip(BaseEventIntel intel) {
26 return new BaseFactorTooltip() {
27 @Override
28 public void createTooltip(TooltipMakerAPI tooltip, boolean expanded, Object tooltipParam) {
29 tooltip.addPara("A close-range scan of a black hole provides insight into the topography of "
30 + "the surrounding area in hyperspace.",
31 0f);
32 }
33
34 };
35 }
36
37}