Starsector API
Loading...
Searching...
No Matches
HostileActivityFactor.java
Go to the documentation of this file.
1package com.fs.starfarer.api.impl.campaign.intel.events;
2
3import java.util.Random;
4
5import java.awt.Color;
6
7import com.fs.starfarer.api.campaign.CampaignFleetAPI;
8import com.fs.starfarer.api.campaign.StarSystemAPI;
9import com.fs.starfarer.api.campaign.comm.IntelInfoPlugin.ListInfoMode;
10import com.fs.starfarer.api.impl.campaign.intel.events.BaseEventIntel.EventStageData;
11import com.fs.starfarer.api.impl.campaign.intel.events.HostileActivityEventIntel.HAERandomEventData;
12import com.fs.starfarer.api.ui.TooltipMakerAPI;
13import com.fs.starfarer.api.ui.TooltipMakerAPI.TooltipCreator;
14
15public interface HostileActivityFactor {
16
17 String getId();
18
19 String getNameForThreatList(boolean first);
21
27
29
30 void setRandomizedStageSeed(long seed);
31 float getEventFrequency(HostileActivityEventIntel intel, EventStageData stage);
32 void rollEvent(HostileActivityEventIntel intel, EventStageData stage);
33 void addBulletPointForEvent(HostileActivityEventIntel intel, EventStageData stage,
34 TooltipMakerAPI info, ListInfoMode mode, boolean isUpdate,
35 Color tc, float initPad);
36
38 //boolean canEscalate(HostileActivityEventIntel intel, EventStageData stage);
39
40 String getEventStageIcon(HostileActivityEventIntel intel, EventStageData stage);
41 String getEventStageSound(HAERandomEventData data);
42
44
45 void resetEvent(HostileActivityEventIntel intel, EventStageData stage);
46
48 ListInfoMode mode, boolean isUpdate, Color tc, float initPad);
49
50 boolean fireEvent(HostileActivityEventIntel intel, EventStageData stage);
51}
String getEventStageIcon(HostileActivityEventIntel intel, EventStageData stage)
boolean fireEvent(HostileActivityEventIntel intel, EventStageData stage)
void addStageDescriptionForEvent(HostileActivityEventIntel intel, EventStageData stage, TooltipMakerAPI info)
void addBulletPointForEvent(HostileActivityEventIntel intel, EventStageData stage, TooltipMakerAPI info, ListInfoMode mode, boolean isUpdate, Color tc, float initPad)
CampaignFleetAPI createFleet(StarSystemAPI system, Random random)
void addBulletPointForEventReset(HostileActivityEventIntel intel, EventStageData stage, TooltipMakerAPI info, ListInfoMode mode, boolean isUpdate, Color tc, float initPad)
TooltipCreator getStageTooltipImpl(HostileActivityEventIntel intel, EventStageData stage)
void rollEvent(HostileActivityEventIntel intel, EventStageData stage)
float getEventFrequency(HostileActivityEventIntel intel, EventStageData stage)
void resetEvent(HostileActivityEventIntel intel, EventStageData stage)