1package com.fs.starfarer.api.impl.campaign.ghosts;
4import java.util.ArrayList;
7import com.fs.starfarer.api.Global;
8import com.fs.starfarer.api.campaign.CampaignFleetAPI;
9import com.fs.starfarer.api.campaign.CustomCampaignEntityAPI;
10import com.fs.starfarer.api.campaign.SectorEntityToken;
11import com.fs.starfarer.api.impl.campaign.ids.Tags;
12import com.fs.starfarer.api.loading.CampaignPingSpec;
13import com.fs.starfarer.api.util.IntervalUtil;
14import com.fs.starfarer.api.util.Misc;
34 super.advance(amount, ghost, behavior);
37 if (
tracker.intervalElapsed()) {
52 custom.
setColor(
new Color(255, 100, 100, 255));
70 if (other.isPlayerFleet()) {
73 float mult = 0.5f + 0.5f * (1f - dist /
drainRange);
static SoundPlayerAPI getSoundPlayer()
static SectorAPI getSector()
void advance(float amount, SensorGhost ghost, GhostBehavior behavior)
GBIRemoraDrain(SectorEntityToken target, float drainRange)
void setAlphaMult(float alphaMult)
void setDuration(float duration)
void setInFraction(float inFraction)
void setRange(float range)
void setWidth(float width)
void setColor(Color color)
void advance(float amount)
static Color getNegativeHighlightColor()
static float getDistance(SectorEntityToken from, SectorEntityToken to)
SoundAPI playSound(String id, float pitch, float volume, Vector2f loc, Vector2f vel)
List< CustomCampaignEntityAPI > getCustomEntities()
List< CampaignFleetAPI > getFleets()
EveryFrameScript addPing(SectorEntityToken entity, String pingType)
LocationAPI getContainingLocation()
boolean isInCurrentLocation()
CustomCampaignEntityAPI getEntity()