Class GBIntercept
java.lang.Object
com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehavior
com.fs.starfarer.api.impl.campaign.ghosts.GBIntercept
- All Implemented Interfaces:
GhostBehavior
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
protected boolean
protected int
protected SectorEntityToken
Fields inherited from class com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehavior
duration, interrupts
-
Constructor Summary
ConstructorsConstructorDescriptionGBIntercept
(SectorEntityToken other, float duration, int maxBurn, boolean endOnIntercept) GBIntercept
(SectorEntityToken other, float duration, int maxBurn, float desiredRange, boolean endOnIntercept) -
Method Summary
Methods inherited from class com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehavior
addInterrupt, end, isDone
-
Field Details
-
other
-
maxBurn
protected int maxBurn -
endOnIntercept
protected boolean endOnIntercept -
desiredRange
protected float desiredRange
-
-
Constructor Details
-
GBIntercept
-
GBIntercept
public GBIntercept(SectorEntityToken other, float duration, int maxBurn, float desiredRange, boolean endOnIntercept)
-
-
Method Details
-
advance
- Specified by:
advance
in interfaceGhostBehavior
- Overrides:
advance
in classBaseGhostBehavior
-