Class BaseIndustryOptionProvider
java.lang.Object
com.fs.starfarer.api.campaign.listeners.BaseIndustryOptionProvider
- All Implemented Interfaces:
IndustryOptionProvider
- Direct Known Subclasses:
TestIndustryOptionProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.campaign.listeners.IndustryOptionProvider
IndustryOptionProvider.IndustryOptionData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToIndustryTooltip
(Industry ind, Industry.IndustryTooltipMode mode, TooltipMakerAPI tooltip, float width, boolean expanded) void
createTooltip
(IndustryOptionProvider.IndustryOptionData opt, TooltipMakerAPI tooltip, float width) boolean
isUnsuitable
(Industry ind, boolean allowUnderConstruction) void
-
Constructor Details
-
BaseIndustryOptionProvider
public BaseIndustryOptionProvider()
-
-
Method Details
-
getIndustryOptions
- Specified by:
getIndustryOptions
in interfaceIndustryOptionProvider
-
isUnsuitable
-
createTooltip
public void createTooltip(IndustryOptionProvider.IndustryOptionData opt, TooltipMakerAPI tooltip, float width) - Specified by:
createTooltip
in interfaceIndustryOptionProvider
-
optionSelected
- Specified by:
optionSelected
in interfaceIndustryOptionProvider
-
addToIndustryTooltip
public void addToIndustryTooltip(Industry ind, Industry.IndustryTooltipMode mode, TooltipMakerAPI tooltip, float width, boolean expanded) - Specified by:
addToIndustryTooltip
in interfaceIndustryOptionProvider
-