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_DAYS
entity
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, setReset
appendToCampaignTooltip, createMapTooltip, getMapTooltipWidth, getRenderRange, hasCustomMapTooltip, isMapTooltipExpandable, render
public static float NAV_BONUS
public static float NAV_BONUS_MAKESHIFT
public void init(SectorEntityToken entity, java.lang.Object pluginParams)
init
in interface CustomCampaignEntityPlugin
init
in class BaseCustomEntityPlugin
public void advance(float amount)
advance
in interface CustomCampaignEntityPlugin
advance
in class BaseCustomEntityPlugin
amount
- 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 CampaignObjective
printEffect
in class BaseCampaignObjectivePlugin
public void printNonFunctionalAndHackDescription(TextPanelAPI text)
printNonFunctionalAndHackDescription
in interface CampaignObjective
printNonFunctionalAndHackDescription
in class BaseCampaignObjectivePlugin
public void addHackStatusToTooltip(TooltipMakerAPI text, float pad)
addHackStatusToTooltip
in interface CampaignObjective
addHackStatusToTooltip
in class BaseCampaignObjectivePlugin
protected java.lang.String getModId()
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.