1package com.fs.starfarer.api.impl.campaign.events.nearby;
3import org.lwjgl.util.vector.Vector2f;
5import com.fs.starfarer.api.Global;
6import com.fs.starfarer.api.campaign.CampaignFleetAPI;
7import com.fs.starfarer.api.campaign.FleetAssignment;
8import com.fs.starfarer.api.campaign.SectorEntityToken;
9import com.fs.starfarer.api.campaign.StarSystemAPI;
10import com.fs.starfarer.api.impl.campaign.procgen.themes.BaseAssignmentAI;
11import com.fs.starfarer.api.util.Misc;
19 protected float dur = 30f + (float) Math.random() * 20f;
40 angle += (float) Math.random() * 10f - 20f;
41 dist += (float) Math.random() * 500f;
53 super.advance(amount);
static SectorAPI getSector()
void advance(float amount)
SectorEntityToken jumpPoint
void giveInitialAssignments()
DistressCallPirateAmbushTrapAssignmentAI(CampaignFleetAPI fleet, StarSystemAPI system, SectorEntityToken jumpPoint)
static Vector2f getUnitVectorAtDegreeAngle(float degrees)
static void giveStandardReturnToSourceAssignments(CampaignFleetAPI fleet)
static float getDistance(SectorEntityToken from, SectorEntityToken to)
static float getAngleInDegrees(Vector2f v)
float convertToDays(float realSeconds)
void addAssignment(FleetAssignment assignment, SectorEntityToken target, float maxDurationInDays)
SectorEntityToken createToken(float x, float y)
CampaignClockAPI getClock()
SectorEntityToken getCenter()