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.IntervalUtil;
7import com.fs.starfarer.api.util.Misc;
12 protected SectorEntityToken
other;
17 protected IntervalUtil
interval =
new IntervalUtil(5f, 10f);
19 protected Vector2f
dest =
new Vector2f();
32 if (
other.getContainingLocation() != ghost.
getEntity().getContainingLocation() || !
other.isAlive()) {
36 super.advance(amount, ghost);
40 else if (
maxBurn >= 15f) mult = 2f;
46 dest = Misc.getUnitVectorAtDegreeAngle(
GBFollow(SectorEntityToken other, float duration, int maxBurn, float desiredRangeMin, float desiredRangeMax)
void advance(float amount, SensorGhost ghost)
CustomCampaignEntityAPI getEntity()
void moveTo(Vector2f dest, float maxBurn)