Class HubMissionWithTriggers.PickLocationAtClosestToEntityJumpPointAction
java.lang.Object
com.fs.starfarer.api.impl.campaign.missions.hub.HubMissionWithTriggers.PickLocationAtClosestToEntityJumpPointAction
- All Implemented Interfaces:
MissionTrigger.TriggerAction
- Enclosing class:
- HubMissionWithTriggers
public static class HubMissionWithTriggers.PickLocationAtClosestToEntityJumpPointAction
extends Object
implements MissionTrigger.TriggerAction
Should not use this for player fleet since that entity can change if it respawns.
- Author:
- Alex Mosolov Copyright 2020 Fractal Softworks, LLC
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SectorEntityToken
protected float
protected StarSystemAPI
-
Constructor Summary
ConstructorsConstructorDescriptionPickLocationAtClosestToEntityJumpPointAction
(StarSystemAPI system, SectorEntityToken entity, float minDistFromEntity) -
Method Summary
-
Field Details
-
system
-
minDistFromEntity
protected float minDistFromEntity -
entity
-
-
Constructor Details
-
PickLocationAtClosestToEntityJumpPointAction
public PickLocationAtClosestToEntityJumpPointAction(StarSystemAPI system, SectorEntityToken entity, float minDistFromEntity)
-
-
Method Details
-
doAction
- Specified by:
doAction
in interfaceMissionTrigger.TriggerAction
-