public class SensorBurstAbility extends BaseDurationAbility
| Modifier and Type | Field and Description |
|---|---|
static float |
DETECTABILITY_RANGE_BONUS |
static float |
SENSOR_RANGE_BONUS |
activeDaysLeft, cooldownLeft, fadingOut, level, LOOP_FADE_TIME_DAYS, loopFadeLeft, turnedOndisableFrames, entity, id, PLAY_UI_SOUNDS_IN_WORLD_SOURCES, spec| Constructor and Description |
|---|
SensorBurstAbility() |
| 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() |
boolean |
hasTooltip() |
activate, addIncompatibleToTooltip, advance, cleanup, deactivate, getActivationDays, getActiveDaysLeft, getCooldownDays, getCooldownFraction, getCooldownLeft, getDeactivationDays, getDurationDays, getLevel, getLoopSoundUIPitch, getLoopSoundUIVolume, getLoopSoundWorldPitch, getLoopSoundWorldVolume, getProgressFraction, getTotalDurationDays, hasCustomButtonPressSounds, isActive, isFadingOut, isInProgress, isUsable, pressButton, runWhilePaused, setActiveDaysLeft, setCooldownLeft, showActiveIndicator, showProgressIndicatoraddIncompatibleToTooltip, disableIncompatible, fleetJoinedBattle, fleetLeftBattle, fleetOpenedMarket, forceDisable, getActivationText, getActiveColor, getActiveLayers, getCooldownColor, getDeactivationText, getEntity, getFleet, getId, getInterruptedList, getLoopSoundUI, getLoopSoundWorld, getModId, getOffSoundUI, getOffSoundWorld, getOnSoundUI, getOnSoundWorld, getProgressColor, getSpec, getSpriteName, getTooltipWidth, init, interruptIncompatible, isActiveOrInProgress, isCompatible, isCooldownRenderingAdditive, isDone, isOnCooldown, isTooltipExpandable, readResolve, render, showCooldownIndicatorpublic static final float SENSOR_RANGE_BONUS
public static final float DETECTABILITY_RANGE_BONUS
public SensorBurstAbility()
protected void activateImpl()
activateImpl in class BaseDurationAbilityprotected void applyEffect(float amount, float level)
BaseDurationAbilityapplyEffect in class BaseDurationAbilityprotected void deactivateImpl()
deactivateImpl in class BaseDurationAbilityprotected void cleanupImpl()
cleanupImpl in class BaseDurationAbilitypublic void createTooltip(TooltipMakerAPI tooltip, boolean expanded)
AbilityPlugincreateTooltip in interface AbilityPlugincreateTooltip in class BaseAbilityPluginpublic boolean hasTooltip()
hasTooltip in interface AbilityPluginhasTooltip in class BaseAbilityPlugin