public class TriTachyonStandardActivityCause extends BaseHostileActivityCause2
| Modifier and Type | Class and Description |
|---|---|
static class |
TriTachyonStandardActivityCause.CompetitorData |
| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<java.lang.String> |
COMPETING_COMMODITIES |
static float |
MAX_MAG |
static int |
MIN_COMPETITOR_MARKET_SIZE |
static int |
MIN_COMPETITOR_PRODUCTION |
static int |
MIN_TRITACH_PRODUCTION |
static float |
PROD_PROGRESS_MULT |
intel| Constructor and Description |
|---|
TriTachyonStandardActivityCause(HostileActivityEventIntel intel) |
| Modifier and Type | Method and Description |
|---|---|
static TriTachyonStandardActivityCause.CompetitorData |
computeCompetitorData(java.lang.String factionId,
java.lang.String competitorId,
java.lang.String commodityId) |
static java.util.List<TriTachyonStandardActivityCause.CompetitorData> |
computePlayerCompetitionData() |
java.lang.String |
getDesc() |
float |
getMagnitudeContribution(StarSystemAPI system) |
int |
getProgress()
Progress is used to advance the event, MagnitudeContribution is for fleet spawning for...
|
TooltipMakerAPI.TooltipCreator |
getTooltip() |
boolean |
shouldShow() |
addExtraRows, getDescColor, getProgressColor, getProgressStrpublic static int MIN_TRITACH_PRODUCTION
public static int MIN_COMPETITOR_PRODUCTION
public static int MIN_COMPETITOR_MARKET_SIZE
public static float PROD_PROGRESS_MULT
public static java.util.Set<java.lang.String> COMPETING_COMMODITIES
public static float MAX_MAG
public TriTachyonStandardActivityCause(HostileActivityEventIntel intel)
public static TriTachyonStandardActivityCause.CompetitorData computeCompetitorData(java.lang.String factionId, java.lang.String competitorId, java.lang.String commodityId)
public static java.util.List<TriTachyonStandardActivityCause.CompetitorData> computePlayerCompetitionData()
public TooltipMakerAPI.TooltipCreator getTooltip()
getTooltip in interface HostileActivityCause2getTooltip in class BaseHostileActivityCause2public boolean shouldShow()
shouldShow in interface HostileActivityCause2shouldShow in class BaseHostileActivityCause2public int getProgress()
HostileActivityCause2getProgress in interface HostileActivityCause2getProgress in class BaseHostileActivityCause2public java.lang.String getDesc()
getDesc in interface HostileActivityCause2getDesc in class BaseHostileActivityCause2public float getMagnitudeContribution(StarSystemAPI system)
getMagnitudeContribution in interface HostileActivityCause2getMagnitudeContribution in class BaseHostileActivityCause2