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
other;
31 if (
other.getContainingLocation() != ghost.
getEntity().getContainingLocation() || !
other.isAlive()) {
35 super.advance(amount, ghost);
37 float speed = Misc.getSpeedForBurnLevel(
maxBurn);
38 Vector2f loc = Misc.getInterceptPoint(ghost.
getEntity(),
other, speed);
void advance(float amount, SensorGhost ghost)
GBIntercept(SectorEntityToken other, float duration, int maxBurn, float desiredRange, boolean endOnIntercept)
GBIntercept(SectorEntityToken other, float duration, int maxBurn, boolean endOnIntercept)
CustomCampaignEntityAPI getEntity()
void moveTo(Vector2f dest, float maxBurn)