1package com.fs.starfarer.api.impl.campaign.ghosts;
3import com.fs.starfarer.api.Global;
4import com.fs.starfarer.api.campaign.SectorEntityToken;
25 SectorEntityToken entity = ghost.
getEntity();
26 if (
soundId !=
null && entity.isInCurrentLocation() && entity.isVisibleToPlayerFleet()) {
static SoundPlayerAPI getSoundPlayer()
boolean hasDelayRemaining()
boolean shouldInterruptBehavior(SensorGhost ghost, GhostBehavior behavior)
GBIPlaySound(float delay, String soundId, float pitch, float volume)
SoundAPI playSound(String id, float pitch, float volume, Vector2f loc, Vector2f vel)
CustomCampaignEntityAPI getEntity()