Package zombie.audio
Class GameSoundClip
java.lang.Object
zombie.audio.GameSoundClip
public class GameSoundClip
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
distanceMax
float
distanceMin
java.lang.String
event
java.lang.String
file
GameSound
gameSound
static short
INIT_FLAG_DISTANCE_MAX
static short
INIT_FLAG_DISTANCE_MIN
short
initFlags
float
pitch
int
priority
short
reloadEpoch
float
reverbFactor
float
reverbMaxRange
float
volume
-
Constructor Summary
Constructors Constructor Description GameSoundClip(GameSound gameSound)
-
Method Summary
Modifier and Type Method Description GameSoundClip
checkReloaded()
float
getEffectiveVolume()
float
getEffectiveVolumeInMenu()
java.lang.String
getEvent()
java.lang.String
getFile()
float
getMaxDistance()
float
getMinDistance()
float
getPitch()
float
getVolume()
boolean
hasMaxDistance()
boolean
hasMinDistance()
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 -
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
-