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 TypeFieldDescriptionfloatfloatfloatfloatarc.audio.SoundFields inherited from class mindustry.entities.Effect
all, baseRotation, clip, followParent, id, layer, layerDuration, lifetime, renderer, rotWithParent, startDelay -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class mindustry.entities.Effect
add, at, at, at, at, at, at, at, at, at, baseRotation, decal, decal, floorDust, floorDustAngle, followParent, get, layer, layer, render, render, rotWithParent, rubble, scorch, shake, shake, shockwaveDust, shockwaveDust, shouldCreate, startDelay, wrap, wrap
-
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