1package com.fs.starfarer.api.impl.campaign.abilities;
3import org.lwjgl.util.vector.Vector2f;
5import com.fs.starfarer.api.Global;
6import com.fs.starfarer.api.ui.TooltipMakerAPI;
7import com.fs.starfarer.api.util.Misc;
74 super.advance(amount);
79 if (soundId !=
null) {
89 if (soundId !=
null) {
123 float prevLevel =
level;
157 "Expand tooltip to view conflicting abilities",
192 if (soundId !=
null) {
212 if (soundId !=
null) {
246 if (soundId !=
null) {
252 if (soundId !=
null) {
293 return super.isInProgress();
static SoundPlayerAPI getSoundPlayer()
static SectorAPI getSector()
void interruptIncompatible()
transient AbilitySpecAPI spec
String getDeactivationText()
String getActivationText()
String getLoopSoundWorld()
void disableIncompatible()
static boolean PLAY_UI_SOUNDS_IN_WORLD_SOURCES
String getOffSoundWorld()
float getTotalDurationDays()
float getActivationDays()
float getDeactivationDays()
abstract void activateImpl()
float getLoopSoundWorldVolume()
void advance(float amount)
float getProgressFraction()
static final float LOOP_FADE_TIME_DAYS
float getActiveDaysLeft()
abstract void deactivateImpl()
boolean showProgressIndicator()
void setActiveDaysLeft(float activeDaysLeft)
void setCooldownLeft(float cooldownLeft)
boolean hasCustomButtonPressSounds()
abstract void cleanupImpl()
float getCooldownFraction()
boolean showActiveIndicator()
float getLoopSoundWorldPitch()
void addIncompatibleToTooltip(TooltipMakerAPI tooltip, boolean expanded)
float getLoopSoundUIPitch()
abstract void applyEffect(float amount, float level)
float getLoopSoundUIVolume()
static Color setAlpha(Color color, int alpha)
Vector2f getListenerPos()
SoundAPI playUISound(String id, float pitch, float volume)
void playLoop(String id, Object playingEntity, float pitch, float volume, Vector2f loc, Vector2f vel)
SoundAPI playSound(String id, float pitch, float volume, Vector2f loc, Vector2f vel)
float convertToDays(float realSeconds)
void suppressMusic(float maxLevel)
CampaignClockAPI getClock()
CampaignUIAPI getCampaignUI()
boolean isInCurrentLocation()
Color getIndicatorColor()
boolean isVisibleToPlayerFleet()
void addFloatingText(String text, Color color, float duration)
float getActivationDays()
float getMusicSuppression()
float getDeactivationDays()
float getDeactivationCooldown()