Class GBITooClose
java.lang.Object
com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehaviorInterrupt
com.fs.starfarer.api.impl.campaign.ghosts.GBITooClose
- All Implemented Interfaces:
GhostBehaviorInterrupt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected float
protected SectorEntityToken
protected SharedTrigger
Fields inherited from class com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehaviorInterrupt
delay
-
Constructor Summary
ConstructorsConstructorDescriptionGBITooClose
(float delay, SectorEntityToken to, float distThreshold) GBITooClose
(float delay, SectorEntityToken to, float distThreshold, SharedTrigger trigger) -
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldInterruptBehavior
(SensorGhost ghost, GhostBehavior behavior) Methods inherited from class com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehaviorInterrupt
advance, hasDelayRemaining
-
Field Details
-
distThreshold
protected float distThreshold -
to
-
trigger
-
-
Constructor Details
-
GBITooClose
-
-
Method Details
-
shouldInterruptBehavior
- Specified by:
shouldInterruptBehavior
in interfaceGhostBehaviorInterrupt
- Overrides:
shouldInterruptBehavior
in classBaseGhostBehaviorInterrupt
-