-Allows for the changing of several sound attributes, including volume, pitch, repeating, etc.

NpcAPI, IPlayer, IWorld:
-Added more sound functions, with sounds that can be stopped and started based on an ID.
This commit is contained in:
c0508383 committed 2022-07-13 19:27:27 -05:00
1 parent e6e266f3b6
commit d1762654ba
16 files changed
+566 -7

No files matched your search

@@ -0,0 +1,37 @@
package noppes.npcs.scripted.interfaces.handler.data;
import noppes.npcs.scripted.interfaces.IPos;
import noppes.npcs.scripted.interfaces.entity.IEntity;
public interface ISound {
void setEntity(IEntity entity);
IEntity getEntity();
void setRepeat(boolean repeat);
boolean repeats();
void setRepeatDelay(int delay);
int getRepeatDelay();
void setVolume(float volume);
float getVolume();
void setPitch(float pitch);
float getPitch();
void setPosition(IPos pos);
void setPosition(float x, float y, float z);
float getX();
float getY();
float getZ();
}