public class GoDarkAbility extends BaseToggleAbility
Modifier and Type | Field and Description |
---|---|
static float |
DETECTABILITY_MULT |
cooldownLeft, isActivateCooldown, level, turnedOn
disableFrames, entity, id, PLAY_UI_SOUNDS_IN_WORLD_SOURCES, spec
Constructor and Description |
---|
GoDarkAbility() |
Modifier and Type | Method and Description |
---|---|
protected void |
activateImpl() |
protected void |
applyEffect(float amount,
float level)
Will be called once when level is 0 and consistently when level >0.
|
protected void |
cleanupImpl() |
void |
createTooltip(TooltipMakerAPI tooltip,
boolean expanded)
Will be called every frame the tooltip is shown, so the tooltip can be dynamic.
|
protected void |
deactivateImpl() |
protected java.lang.String |
getActivationText() |
protected java.lang.String |
getDeactivationText() |
boolean |
hasTooltip() |
boolean |
showActiveIndicator() |
boolean |
showProgressIndicator() |
activate, addIncompatibleToTooltip, advance, cleanup, deactivate, getActivateCooldownDays, getActivationDays, getCooldownFraction, getCooldownLeft, getDeactivateCooldownDays, getDeactivationDays, getLevel, getLoopSoundUIPitch, getLoopSoundUIVolume, getLoopSoundWorldPitch, getLoopSoundWorldVolume, getProgressFraction, hasCustomButtonPressSounds, isActive, isUsable, pressButton, runWhilePaused, setCooldownLeft
addIncompatibleToTooltip, disableIncompatible, fleetJoinedBattle, fleetLeftBattle, fleetOpenedMarket, forceDisable, getActiveColor, getActiveLayers, getCooldownColor, getEntity, getFleet, getId, getInterruptedList, getLoopSoundUI, getLoopSoundWorld, getModId, getOffSoundUI, getOffSoundWorld, getOnSoundUI, getOnSoundWorld, getProgressColor, getSpec, getSpriteName, getTooltipWidth, init, interruptIncompatible, isActiveOrInProgress, isCompatible, isCooldownRenderingAdditive, isDone, isInProgress, isOnCooldown, isTooltipExpandable, readResolve, render, showCooldownIndicator
public static final float DETECTABILITY_MULT
protected java.lang.String getActivationText()
getActivationText
in class BaseAbilityPlugin
protected java.lang.String getDeactivationText()
getDeactivationText
in class BaseAbilityPlugin
protected void activateImpl()
activateImpl
in class BaseToggleAbility
protected void applyEffect(float amount, float level)
BaseToggleAbility
applyEffect
in class BaseToggleAbility
protected void deactivateImpl()
deactivateImpl
in class BaseToggleAbility
protected void cleanupImpl()
cleanupImpl
in class BaseToggleAbility
public boolean showProgressIndicator()
showProgressIndicator
in interface AbilityPlugin
showProgressIndicator
in class BaseToggleAbility
public boolean showActiveIndicator()
showActiveIndicator
in interface AbilityPlugin
showActiveIndicator
in class BaseToggleAbility
public void createTooltip(TooltipMakerAPI tooltip, boolean expanded)
AbilityPlugin
createTooltip
in interface AbilityPlugin
createTooltip
in class BaseAbilityPlugin
public boolean hasTooltip()
hasTooltip
in interface AbilityPlugin
hasTooltip
in class BaseAbilityPlugin
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.