Class BaseEPEncounterCreator
java.lang.Object
com.fs.starfarer.api.impl.campaign.enc.BaseEPEncounterCreator
- All Implemented Interfaces:
EPEncounterCreator
- Direct Known Subclasses:
AbyssalLightEPEC
,AbyssalNoEPEC
,AbyssalRogueStellarObjectEPEC
,OutsideSystemNoEPEC
,OutsideSystemRemnantEPEC
,SlipstreamLuddicPathEPEC
,SlipstreamMercenaryEPEC
,SlipstreamNoEPEC
,SlipstreamPirateEPEC
,SlipstreamScavengerEPEC
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic float
static float
static float
static float
static float
static float
static float
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createEncounter
(EncounterManager manager, EncounterPoint point) static LuddicPathBaseIntel
getClosestLuddicPathBase
(org.lwjgl.util.vector.Vector2f locInHyper) static LuddicPathBaseIntel
getClosestLuddicPathBase
(org.lwjgl.util.vector.Vector2f locInHyper, boolean onlyInProximity) static PirateBaseIntel
getClosestPirateBase
(org.lwjgl.util.vector.Vector2f locInHyper) static PirateBaseIntel
getClosestPirateBase
(org.lwjgl.util.vector.Vector2f locInHyper, boolean onlyInProximity) static StarSystemAPI
getClosestSystemWithRuins
(org.lwjgl.util.vector.Vector2f locInHyper) static StarSystemAPI
getClosestSystemWithRuins
(org.lwjgl.util.vector.Vector2f locInHyper, boolean onlyInProximity) static float
getCoreProximityFactor
(org.lwjgl.util.vector.Vector2f locInHyper) float
float
float
getFrequencyForPoint
(EncounterManager manager, EncounterPoint point) getId()
static float
getLuddicPathBaseProximityFactor
(LuddicPathBaseIntel base, org.lwjgl.util.vector.Vector2f locInHyper) static float
getPirateBaseProximityFactor
(PirateBaseIntel base, org.lwjgl.util.vector.Vector2f locInHyper) float
float
static float
getRuinsProximityFactor
(StarSystemAPI system, org.lwjgl.util.vector.Vector2f locInHyper)
-
Field Details
-
PATHER_AMBUSH_RANGE_FOR_FULL_PROXIMITY_FACTOR
public static float PATHER_AMBUSH_RANGE_FOR_FULL_PROXIMITY_FACTOR -
PATHER_AMBUSH_MAX_RANGE
public static float PATHER_AMBUSH_MAX_RANGE -
PIRATE_AMBUSH_RANGE_FOR_FULL_PROXIMITY_FACTOR
public static float PIRATE_AMBUSH_RANGE_FOR_FULL_PROXIMITY_FACTOR -
PIRATE_AMBUSH_MAX_RANGE
public static float PIRATE_AMBUSH_MAX_RANGE -
RUINS_RANGE_FOR_FULL_PROXIMITY_FACTOR
public static float RUINS_RANGE_FOR_FULL_PROXIMITY_FACTOR -
RUINS_MAX_RANGE
public static float RUINS_MAX_RANGE -
CORE_PROXIMITY_MAX_RANGE
public static float CORE_PROXIMITY_MAX_RANGE
-
-
Constructor Details
-
BaseEPEncounterCreator
public BaseEPEncounterCreator()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceEPEncounterCreator
-
getPointTimeoutMin
public float getPointTimeoutMin()- Specified by:
getPointTimeoutMin
in interfaceEPEncounterCreator
-
getPointTimeoutMax
public float getPointTimeoutMax()- Specified by:
getPointTimeoutMax
in interfaceEPEncounterCreator
-
getCreatorTimeoutMin
public float getCreatorTimeoutMin()- Specified by:
getCreatorTimeoutMin
in interfaceEPEncounterCreator
-
getCreatorTimeoutMax
public float getCreatorTimeoutMax()- Specified by:
getCreatorTimeoutMax
in interfaceEPEncounterCreator
-
getFrequencyForPoint
- Specified by:
getFrequencyForPoint
in interfaceEPEncounterCreator
-
createEncounter
- Specified by:
createEncounter
in interfaceEPEncounterCreator
-
getLuddicPathBaseProximityFactor
public static float getLuddicPathBaseProximityFactor(LuddicPathBaseIntel base, org.lwjgl.util.vector.Vector2f locInHyper) -
getClosestLuddicPathBase
public static LuddicPathBaseIntel getClosestLuddicPathBase(org.lwjgl.util.vector.Vector2f locInHyper) -
getClosestLuddicPathBase
public static LuddicPathBaseIntel getClosestLuddicPathBase(org.lwjgl.util.vector.Vector2f locInHyper, boolean onlyInProximity) -
getPirateBaseProximityFactor
public static float getPirateBaseProximityFactor(PirateBaseIntel base, org.lwjgl.util.vector.Vector2f locInHyper) -
getClosestPirateBase
-
getClosestPirateBase
public static PirateBaseIntel getClosestPirateBase(org.lwjgl.util.vector.Vector2f locInHyper, boolean onlyInProximity) -
getCoreProximityFactor
public static float getCoreProximityFactor(org.lwjgl.util.vector.Vector2f locInHyper) -
getRuinsProximityFactor
public static float getRuinsProximityFactor(StarSystemAPI system, org.lwjgl.util.vector.Vector2f locInHyper) -
getClosestSystemWithRuins
-
getClosestSystemWithRuins
public static StarSystemAPI getClosestSystemWithRuins(org.lwjgl.util.vector.Vector2f locInHyper, boolean onlyInProximity)
-