Class BaseGhostBehaviorInterrupt
java.lang.Object
com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehaviorInterrupt
- All Implemented Interfaces:
GhostBehaviorInterrupt
- Direct Known Subclasses:
GBIDespawn
,GBIGenerateSlipstream
,GBIPlaySound
,GBIRemoraDrain
,GBIRunEveryFrame
,GBIRunScript
,GBITooClose
,GBITooCloseToOther
,GBITowardsDirection
,GBITowardsEntity
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount, SensorGhost ghost, GhostBehavior behavior) protected boolean
boolean
shouldInterruptBehavior
(SensorGhost ghost, GhostBehavior behavior)
-
Field Details
-
delay
protected float delay
-
-
Constructor Details
-
BaseGhostBehaviorInterrupt
public BaseGhostBehaviorInterrupt(float delay)
-
-
Method Details
-
advance
- Specified by:
advance
in interfaceGhostBehaviorInterrupt
-
shouldInterruptBehavior
- Specified by:
shouldInterruptBehavior
in interfaceGhostBehaviorInterrupt
-
hasDelayRemaining
protected boolean hasDelayRemaining()
-