Class BaseHubMission.LocData
java.lang.Object
com.fs.starfarer.api.impl.campaign.missions.hub.BaseHubMission.LocData
- Enclosing class:
- BaseHubMission
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
-
Constructor Summary
ConstructorsConstructorDescriptionLocData
(SectorEntityToken centerOn) Set to a zero-radius orbit around centerOn.LocData
(SectorEntityToken centerOn, boolean removeOnMissionOver) Set to a zero-radius orbit around centerOn.LocData
(BaseHubMission.EntityLocationType type, SectorEntityToken centerOn, LocationAPI system) Generate an EntityLocation based on the type.LocData
(BaseHubMission.EntityLocationType type, SectorEntityToken centerOn, LocationAPI system, boolean removeOnMissionOver) Generate an EntityLocation based on the type.LocData
(BaseThemeGenerator.EntityLocation loc, LocationAPI system) At provided EntityLocation.LocData
(BaseThemeGenerator.EntityLocation loc, LocationAPI system, boolean removeOnMissionOver) At provided EntityLocation.LocData
(org.lwjgl.util.vector.Vector2f loc, LocationAPI system) At fixed coordinates, no orbit.LocData
(org.lwjgl.util.vector.Vector2f loc, LocationAPI system, boolean removeOnMissionOver) At fixed coordinates, no orbit. -
Method Summary
Modifier and TypeMethodDescriptionvoid
placeEntity
(SectorEntityToken entity) boolean
updateLocIfNeeded
(BaseHubMission mission, String entityId)
-
Field Details
-
terrain
-
loc
-
type
-
centerOn
-
system
-
removeOnMissionOver
public boolean removeOnMissionOver
-
-
Constructor Details
-
LocData
public LocData(BaseThemeGenerator.EntityLocation loc, LocationAPI system, boolean removeOnMissionOver) At provided EntityLocation. -
LocData
public LocData(BaseHubMission.EntityLocationType type, SectorEntityToken centerOn, LocationAPI system, boolean removeOnMissionOver) Generate an EntityLocation based on the type. centerOn is used if type is ORBITING_PARAM. -
LocData
Set to a zero-radius orbit around centerOn. -
LocData
At fixed coordinates, no orbit. -
LocData
At provided EntityLocation. -
LocData
public LocData(BaseHubMission.EntityLocationType type, SectorEntityToken centerOn, LocationAPI system) Generate an EntityLocation based on the type. centerOn is used if type is ORBITING_PARAM. -
LocData
Set to a zero-radius orbit around centerOn. -
LocData
At fixed coordinates, no orbit.
-
-
Method Details
-
updateLocIfNeeded
-
placeEntity
-