Class DeliveryBarEventCreator
java.lang.Object
com.fs.starfarer.api.impl.campaign.intel.bar.events.BaseBarEventCreator
com.fs.starfarer.api.impl.campaign.intel.bar.events.DeliveryBarEventCreator
- All Implemented Interfaces:
BarEventManager.GenericBarEventCreator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
float
boolean
Priority events get created before non-priority.Methods inherited from class com.fs.starfarer.api.impl.campaign.intel.bar.events.BaseBarEventCreator
getBarEventFrequencyWeight, getBarEventId, wasAutoAdded
-
Constructor Details
-
DeliveryBarEventCreator
public DeliveryBarEventCreator()
-
-
Method Details
-
createBarEvent
- Specified by:
createBarEvent
in interfaceBarEventManager.GenericBarEventCreator
- Overrides:
createBarEvent
in classBaseBarEventCreator
-
isPriority
public boolean isPriority()Description copied from interface:BarEventManager.GenericBarEventCreator
Priority events get created before non-priority. Should be used sparingly, for gameplay-essential events. Having too many priority events could crowd out all other events entirely.- Specified by:
isPriority
in interfaceBarEventManager.GenericBarEventCreator
- Overrides:
isPriority
in classBaseBarEventCreator
- Returns:
-
getBarEventActiveDuration
public float getBarEventActiveDuration()- Specified by:
getBarEventActiveDuration
in interfaceBarEventManager.GenericBarEventCreator
- Overrides:
getBarEventActiveDuration
in classBaseBarEventCreator
-
getBarEventTimeoutDuration
public float getBarEventTimeoutDuration()- Specified by:
getBarEventTimeoutDuration
in interfaceBarEventManager.GenericBarEventCreator
- Overrides:
getBarEventTimeoutDuration
in classBaseBarEventCreator
-
getBarEventAcceptedTimeoutDuration
public float getBarEventAcceptedTimeoutDuration()- Specified by:
getBarEventAcceptedTimeoutDuration
in interfaceBarEventManager.GenericBarEventCreator
- Overrides:
getBarEventAcceptedTimeoutDuration
in classBaseBarEventCreator
-