Package zombie.audio
Class GameSoundClip
java.lang.Object
zombie.audio.GameSoundClip
public final class GameSoundClip
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description floatdistanceMaxfloatdistanceMinjava.lang.StringeventFMOD_STUDIO_EVENT_DESCRIPTIONeventDescriptionjava.lang.StringfileGameSoundgameSoundstatic shortINIT_FLAG_DISTANCE_MAXstatic shortINIT_FLAG_DISTANCE_MINshortinitFlagsfloatpitchintpriorityshortreloadEpochfloatreverbFactorfloatreverbMaxRangefloatvolume -
Constructor Summary
Constructors Constructor Description GameSoundClip(GameSound gameSound) -
Method Summary
Modifier and Type Method Description GameSoundClipcheckReloaded()floatgetEffectiveVolume()floatgetEffectiveVolumeInMenu()java.lang.StringgetEvent()java.lang.StringgetFile()floatgetMaxDistance()floatgetMinDistance()floatgetPitch()floatgetVolume()booleanhasMaxDistance()booleanhasMinDistance()booleanhasSustainPoints()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INIT_FLAG_DISTANCE_MIN
public static short INIT_FLAG_DISTANCE_MIN -
INIT_FLAG_DISTANCE_MAX
public static short INIT_FLAG_DISTANCE_MAX -
gameSound
-
event
public java.lang.String event -
eventDescription
-
file
public java.lang.String file -
volume
public float volume -
pitch
public float pitch -
distanceMin
public float distanceMin -
distanceMax
public float distanceMax -
reverbMaxRange
public float reverbMaxRange -
reverbFactor
public float reverbFactor -
priority
public int priority -
initFlags
public short initFlags -
reloadEpoch
public short reloadEpoch
-
-
Constructor Details
-
GameSoundClip
-
-
Method Details
-
getEvent
public java.lang.String getEvent() -
getFile
public java.lang.String getFile() -
getVolume
public float getVolume() -
getPitch
public float getPitch() -
hasMinDistance
public boolean hasMinDistance() -
hasMaxDistance
public boolean hasMaxDistance() -
getMinDistance
public float getMinDistance() -
getMaxDistance
public float getMaxDistance() -
getEffectiveVolume
public float getEffectiveVolume() -
getEffectiveVolumeInMenu
public float getEffectiveVolumeInMenu() -
checkReloaded
-
hasSustainPoints
public boolean hasSustainPoints()
-