Package com.fs.starfarer.api.combat
Interface FighterLaunchBayAPI
public interface FighterLaunchBayAPI
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
int
int
float
int
org.lwjgl.util.vector.Vector2f
getLandingLocation
(ShipAPI fighter) Absolute location the fighter should be heading for landing.int
getShip()
float
getWing()
void
This removes the fighter from the engine, so its AI methods will stop being called.void
void
setCurrRate
(float currRate) void
setExtraDeploymentLimit
(int extraDeploymentLimit) void
setExtraDeployments
(int extraDeployments) void
setExtraDuration
(float extraDuration) void
setFastReplacements
(int fastReplacements) void
setNumLost
(int numLost)
-
Method Details
-
getLandingLocation
Absolute location the fighter should be heading for landing.- Parameters:
fighter
-- Returns:
-
land
This removes the fighter from the engine, so its AI methods will stop being called. When the fighter is re-launched, a new AI will be created.- Parameters:
fighter
-
-
getShip
ShipAPI getShip()- Returns:
- The ship that this launch bay is on.
-
getFastReplacements
int getFastReplacements() -
setFastReplacements
void setFastReplacements(int fastReplacements) -
getWing
FighterWingAPI getWing() -
makeCurrentIntervalFast
void makeCurrentIntervalFast() -
getExtraDeployments
int getExtraDeployments() -
setExtraDeployments
void setExtraDeployments(int extraDeployments) -
getExtraDeploymentLimit
int getExtraDeploymentLimit() -
setExtraDeploymentLimit
void setExtraDeploymentLimit(int extraDeploymentLimit) -
getExtraDuration
float getExtraDuration() -
setExtraDuration
void setExtraDuration(float extraDuration) -
getNumLost
int getNumLost() -
setNumLost
void setNumLost(int numLost) -
getWeaponSlot
WeaponSlotAPI getWeaponSlot() -
setCurrRate
void setCurrRate(float currRate) -
getCurrRate
float getCurrRate() -
getCurrReplacementIntervalDuration
float getCurrReplacementIntervalDuration() -
getTimeUntilNextReplacement
float getTimeUntilNextReplacement()
-