Package mindustry.entities.effect
Class SoundEffect
java.lang.Object
mindustry.entities.Effect
mindustry.entities.effect.SoundEffect
Plays a sound effect when created and simultaneously renders an effect.
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.entities.Effect
Effect.EffectContainer
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloat
float
float
float
arc.audio.Sound
Fields inherited from class mindustry.entities.Effect
all, baseRotation, clip, followParent, id, layer, layerDuration, lifetime, renderer, rotWithParent, startDelay
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
sound
public arc.audio.Sound sound -
minPitch
public float minPitch -
maxPitch
public float maxPitch -
minVolume
public float minVolume -
maxVolume
public float maxVolume -
effect
-
-
Constructor Details
-
SoundEffect
public SoundEffect() -
SoundEffect
-
-
Method Details