Class BattleCreationContext

java.lang.Object
com.fs.starfarer.api.combat.BattleCreationContext

public class BattleCreationContext extends Object
  • Field Details

    • extraEnemyStandoffRange

      public float extraEnemyStandoffRange
    • aiRetreatAllowed

      public boolean aiRetreatAllowed
    • objectivesAllowed

      public boolean objectivesAllowed
    • forceObjectivesOnMap

      public boolean forceObjectivesOnMap
    • enemyDeployAll

      public boolean enemyDeployAll
    • fightToTheLast

      public boolean fightToTheLast
  • Constructor Details

  • Method Details

    • getPlayerCommandPoints

      public int getPlayerCommandPoints()
    • setPlayerCommandPoints

      public void setPlayerCommandPoints(int playerCommandPoints)
    • getPlayerFleet

      public CampaignFleetAPI getPlayerFleet()
    • getPlayerGoal

      public FleetGoal getPlayerGoal()
    • getOtherFleet

      public CampaignFleetAPI getOtherFleet()
    • getOtherGoal

      public FleetGoal getOtherGoal()
    • getPursuitRangeModifier

      public float getPursuitRangeModifier()
    • setPursuitRangeModifier

      public void setPursuitRangeModifier(float pursuitRangeModifier)
    • getInitialDeploymentBurnDuration

      public float getInitialDeploymentBurnDuration()
    • setInitialDeploymentBurnDuration

      public void setInitialDeploymentBurnDuration(float initialDeploymentBurnDuration)
    • getNormalDeploymentBurnDuration

      public float getNormalDeploymentBurnDuration()
    • setNormalDeploymentBurnDuration

      public void setNormalDeploymentBurnDuration(float normalDeploymentBurnDuration)
    • getEscapeDeploymentBurnDuration

      public float getEscapeDeploymentBurnDuration()
    • setEscapeDeploymentBurnDuration

      public void setEscapeDeploymentBurnDuration(float escapeDeploymentBurnDuration)
    • getStandoffRange

      public float getStandoffRange()
    • setStandoffRange

      public void setStandoffRange(float standoffRange)
    • getInitialEscapeRange

      public float getInitialEscapeRange()
    • setInitialEscapeRange

      public void setInitialEscapeRange(float initialEscapeRange)
    • getFlankDeploymentDistance

      public float getFlankDeploymentDistance()
    • setFlankDeploymentDistance

      public void setFlankDeploymentDistance(float sideDeploymentDistance)
    • getInitialStepSize

      public float getInitialStepSize()
    • setInitialStepSize

      public void setInitialStepSize(float initialStepSize)
    • getInitialNumSteps

      public float getInitialNumSteps()
    • setInitialNumSteps

      public void setInitialNumSteps(float initialNumSteps)
    • getExtraEnemyStandoffRange

      public float getExtraEnemyStandoffRange()