Starsector API
Loading...
Searching...
No Matches
NavigationModulePlugin.java
Go to the documentation of this file.
1
4package com.fs.starfarer.api.campaign.ai;
5
6import org.lwjgl.util.vector.Vector2f;
7
8import com.fs.starfarer.api.campaign.LocationAPI;
9import com.fs.starfarer.api.campaign.SectorEntityToken;
10
11public interface NavigationModulePlugin {
14 void avoidEntity(SectorEntityToken entity, float minRange, float maxRange, float duration);
15 void avoidLocation(LocationAPI containingLocation, Vector2f loc, float minRange, float maxRange, float duration);
16
17 void setPreferredHeading(float heading);
18 void setDestination(Vector2f loc);
19 float getPreferredHeading(float heading);
20
23
24
25 void advance(float days);
26 void doNotAvoid(SectorEntityToken entity, float days);
27
28}
void avoidLocation(LocationAPI containingLocation, Vector2f loc, float minRange, float maxRange, float duration)
void avoidEntity(SectorEntityToken entity, float minRange, float maxRange, float duration)
void doNotAvoid(SectorEntityToken entity, float days)