Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.impl.campaign.ghosts.GBFollow Class Reference
Inheritance diagram for com.fs.starfarer.api.impl.campaign.ghosts.GBFollow:
[legend]
Collaboration diagram for com.fs.starfarer.api.impl.campaign.ghosts.GBFollow:
[legend]

Public Member Functions

 GBFollow (SectorEntityToken other, float duration, int maxBurn, float desiredRangeMin, float desiredRangeMax)
 
void advance (float amount, SensorGhost ghost)
 
- Public Member Functions inherited from com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehavior
 BaseGhostBehavior (float duration)
 
boolean isDone ()
 
void end ()
 
void addInterrupt (GhostBehaviorInterrupt interrupt)
 
- Public Member Functions inherited from com.fs.starfarer.api.impl.campaign.ghosts.GhostBehavior

Protected Attributes

SectorEntityToken other
 
int maxBurn
 
float desiredRange
 
float desiredRangeMin
 
float desiredRangeMax
 
IntervalUtil interval = new IntervalUtil(5f, 10f)
 
float angleOffset = 0f
 
Vector2f dest = new Vector2f()
 
- Protected Attributes inherited from com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehavior
float duration
 
List< GhostBehaviorInterruptinterrupts = new ArrayList<GhostBehaviorInterrupt>()
 

Detailed Description

Definition at line 10 of file GBFollow.java.

Constructor & Destructor Documentation

◆ GBFollow()

com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.GBFollow ( SectorEntityToken other,
float duration,
int maxBurn,
float desiredRangeMin,
float desiredRangeMax )

Definition at line 21 of file GBFollow.java.

Member Function Documentation

◆ advance()

void com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.advance ( float amount,
SensorGhost ghost )

Reimplemented from com.fs.starfarer.api.impl.campaign.ghosts.BaseGhostBehavior.

Definition at line 31 of file GBFollow.java.

Member Data Documentation

◆ angleOffset

float com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.angleOffset = 0f
protected

Definition at line 18 of file GBFollow.java.

◆ desiredRange

float com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.desiredRange
protected

Definition at line 14 of file GBFollow.java.

◆ desiredRangeMax

float com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.desiredRangeMax
protected

Definition at line 16 of file GBFollow.java.

◆ desiredRangeMin

float com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.desiredRangeMin
protected

Definition at line 15 of file GBFollow.java.

◆ dest

Vector2f com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.dest = new Vector2f()
protected

Definition at line 19 of file GBFollow.java.

◆ interval

IntervalUtil com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.interval = new IntervalUtil(5f, 10f)
protected

Definition at line 17 of file GBFollow.java.

◆ maxBurn

int com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.maxBurn
protected

Definition at line 13 of file GBFollow.java.

◆ other

SectorEntityToken com.fs.starfarer.api.impl.campaign.ghosts.GBFollow.other
protected

Definition at line 12 of file GBFollow.java.


The documentation for this class was generated from the following file: