public static class AbyssalLightEntityPlugin.AbyssalLightSoundStopper extends java.lang.Object implements EveryFrameScript
| Modifier and Type | Field and Description |
|---|---|
protected float |
elapsed |
protected SoundAPI |
sound |
| Constructor and Description |
|---|
AbyssalLightSoundStopper(SoundAPI sound) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount)
Use SectorAPI.getClock() to convert to campaign days.
|
boolean |
isDone() |
boolean |
runWhilePaused() |
public AbyssalLightSoundStopper(SoundAPI sound)
public boolean isDone()
isDone in interface EveryFrameScriptpublic boolean runWhilePaused()
runWhilePaused in interface EveryFrameScriptpublic void advance(float amount)
EveryFrameScriptadvance in interface EveryFrameScriptamount - seconds elapsed during the last frame.