1package com.fs.starfarer.api.impl.campaign.ghosts;
3import org.lwjgl.util.vector.Vector2f;
5import com.fs.starfarer.api.campaign.SectorEntityToken;
6import com.fs.starfarer.api.util.Misc;
11 protected SectorEntityToken
to;
24 super.advance(amount, ghost);
28 float dist = Misc.getDistance(ghost.
getEntity(),
to);
29 if (dist < ghost.
getEntity().getRadius() +
to.getRadius()) {
void advance(float amount, SensorGhost ghost)
GBGoTo(float duration, SectorEntityToken to, int maxBurn)
CustomCampaignEntityAPI getEntity()
void moveTo(Vector2f dest, float maxBurn)