public class BaseCampaignObjectivePlugin extends BaseCustomEntityPlugin implements CampaignObjective
Modifier and Type | Field and Description |
---|---|
static float |
HACK_DURATION_DAYS |
static java.lang.String |
HACKED |
static java.lang.String |
RESET |
static float |
RESET_DURATION_DAYS |
entity
Constructor and Description |
---|
BaseCampaignObjectivePlugin() |
Modifier and Type | Method and Description |
---|---|
void |
addHackStatusToTooltip(TooltipMakerAPI text,
float pad) |
java.lang.Boolean |
isHacked() |
java.lang.Boolean |
isReset() |
void |
printEffect(TooltipMakerAPI text,
float pad) |
void |
printNonFunctionalAndHackDescription(TextPanelAPI text) |
void |
setHacked(boolean hacked) |
void |
setHacked(boolean hacked,
float days) |
void |
setReset(boolean reset) |
void |
setReset(boolean reset,
float days) |
advance, appendToCampaignTooltip, createMapTooltip, getMapTooltipWidth, getRenderRange, hasCustomMapTooltip, init, isMapTooltipExpandable, render
public static final java.lang.String HACKED
public static final java.lang.String RESET
public static final float HACK_DURATION_DAYS
public static final float RESET_DURATION_DAYS
public void printEffect(TooltipMakerAPI text, float pad)
printEffect
in interface CampaignObjective
public void addHackStatusToTooltip(TooltipMakerAPI text, float pad)
addHackStatusToTooltip
in interface CampaignObjective
public void printNonFunctionalAndHackDescription(TextPanelAPI text)
printNonFunctionalAndHackDescription
in interface CampaignObjective
public java.lang.Boolean isHacked()
isHacked
in interface CampaignObjective
public void setHacked(boolean hacked)
setHacked
in interface CampaignObjective
public void setHacked(boolean hacked, float days)
setHacked
in interface CampaignObjective
public java.lang.Boolean isReset()
isReset
in interface CampaignObjective
public void setReset(boolean reset)
setReset
in interface CampaignObjective
public void setReset(boolean reset, float days)
setReset
in interface CampaignObjective
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.