public class NavBuoyEntityPlugin extends BaseCampaignObjectivePlugin
| Modifier and Type | Field and Description |
|---|---|
static float |
NAV_BONUS |
static float |
NAV_BONUS_MAKESHIFT |
HACK_DURATION_DAYS, HACKED, RESET, RESET_DURATION_DAYSentity| Constructor and Description |
|---|
NavBuoyEntityPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHackStatusToTooltip(TooltipMakerAPI text,
float pad) |
void |
advance(float amount) |
protected java.lang.String |
getModId() |
void |
init(SectorEntityToken entity,
java.lang.Object pluginParams) |
protected boolean |
isMakeshift() |
void |
printEffect(TooltipMakerAPI text,
float pad) |
void |
printNonFunctionalAndHackDescription(TextPanelAPI text) |
isHacked, isReset, setHacked, setHacked, setReset, setResetappendToCampaignTooltip, createMapTooltip, getMapTooltipWidth, getRenderRange, hasCustomMapTooltip, isMapTooltipExpandable, renderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisRenderWhenViewportAlphaMultIsZeropublic static float NAV_BONUS
public static float NAV_BONUS_MAKESHIFT
public NavBuoyEntityPlugin()
public void init(SectorEntityToken entity, java.lang.Object pluginParams)
init in interface CustomCampaignEntityPlugininit in class BaseCustomEntityPluginpublic void advance(float amount)
advance in interface CustomCampaignEntityPluginadvance in class BaseCustomEntityPluginamount - in seconds. Use SectorAPI.getClock() to figure out how many campaign days that is.protected boolean isMakeshift()
public void printEffect(TooltipMakerAPI text, float pad)
printEffect in interface CampaignObjectiveprintEffect in class BaseCampaignObjectivePluginpublic void printNonFunctionalAndHackDescription(TextPanelAPI text)
printNonFunctionalAndHackDescription in interface CampaignObjectiveprintNonFunctionalAndHackDescription in class BaseCampaignObjectivePluginpublic void addHackStatusToTooltip(TooltipMakerAPI text, float pad)
addHackStatusToTooltip in interface CampaignObjectiveaddHackStatusToTooltip in class BaseCampaignObjectivePluginprotected java.lang.String getModId()