Class AudioEvent
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.event.Event
-
- de.extio.spacecraft.shared.model.client.event.AudioEvent
-
public final class AudioEvent extends Event
Plays an audio effect
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AudioEvent.AudioEventBuiltinGroups
Builtin audio event groupsstatic class
AudioEvent.AudioEventGroup
Audio events are grouped that similar effects are only played once per cycle (e.g.
-
Constructor Summary
Constructors Constructor Description AudioEvent(ModAndResourceName modAndResourceName)
AudioEvent(ModAndResourceName modAndResourceName, AudioEvent.AudioEventGroup group, int groupElementPriority)
AudioEvent(ModAndResourceName modAndResourceName, String group, int groupPriority, int groupElementPriority)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroup()
int
getGroupElementPriority()
int
getGroupPriority()
ModAndResourceName
getModAndResourceName()
void
setGroup(String group)
void
setGroupElementPriority(int groupElementPriority)
void
setGroupPriority(int groupPriority)
void
setModAndResourceName(ModAndResourceName modAndResourceName)
-
Methods inherited from class de.extio.spacecraft.shared.model.client.event.Event
getFrameCur, getFrameTTL, isExlusive, isInGroup, isPriority, setFrameCur
-
-
-
-
Constructor Detail
-
AudioEvent
public AudioEvent(ModAndResourceName modAndResourceName)
-
AudioEvent
public AudioEvent(ModAndResourceName modAndResourceName, String group, int groupPriority, int groupElementPriority)
-
AudioEvent
public AudioEvent(ModAndResourceName modAndResourceName, AudioEvent.AudioEventGroup group, int groupElementPriority)
-
-
Method Detail
-
getModAndResourceName
public ModAndResourceName getModAndResourceName()
-
setModAndResourceName
public void setModAndResourceName(ModAndResourceName modAndResourceName)
-
getGroup
public String getGroup()
-
setGroup
public void setGroup(String group)
-
getGroupElementPriority
public int getGroupElementPriority()
-
setGroupElementPriority
public void setGroupElementPriority(int groupElementPriority)
-
getGroupPriority
public int getGroupPriority()
-
setGroupPriority
public void setGroupPriority(int groupPriority)
-
-