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