1package com.fs.starfarer.api.impl.campaign.ghosts;
3import com.fs.starfarer.api.campaign.SectorEntityToken;
4import com.fs.starfarer.api.util.Misc;
9 protected SectorEntityToken
to;
26 float dist = Misc.getDistance(
to, ghost.
getEntity());
27 dist -=
to.getRadius();
31 if (inRange &&
trigger !=
null) {
boolean hasDelayRemaining()
GBITooClose(float delay, SectorEntityToken to, float distThreshold)
GBITooClose(float delay, SectorEntityToken to, float distThreshold, SharedTrigger trigger)
boolean shouldInterruptBehavior(SensorGhost ghost, GhostBehavior behavior)
CustomCampaignEntityAPI getEntity()