Class VehicleSounds
java.lang.Object
zombie.vehicleSound.VehicleSounds
- All Implemented Interfaces:
fmod.fmod.IFMODParameterUpdater, VehicleSoundOwner
public final class VehicleSounds
extends Object
implements VehicleSoundOwner, fmod.fmod.IFMODParameterUpdater
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatintdoublefloatfloatintfloatgetX()floatgetY()floatgetZ()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisListenerInRange(float range) booleanvoidremove()voidsetOwner(VehicleSoundOwner owner) voidstartEvent(long eventInstance, GameSoundClip clip, boolean remote, BitSet parameterSet) voidstopEvent(long eventInstance, GameSoundClip clip, boolean remote, BitSet parameterSet) voidupdate()voidupdateEvent(long eventInstance, GameSoundClip clip)
-
Field Details
-
SOUND_VOLUME
public static float SOUND_VOLUME
-
-
Constructor Details
-
VehicleSounds
public VehicleSounds()
-
-
Method Details
-
setOwner
-
getX
public float getX()- Specified by:
getXin interfaceVehicleSoundOwner
-
getY
public float getY()- Specified by:
getYin interfaceVehicleSoundOwner
-
getZ
public float getZ()- Specified by:
getZin interfaceVehicleSoundOwner
-
isListenerInRange
public boolean isListenerInRange(float range) - Specified by:
isListenerInRangein interfaceVehicleSoundOwner
-
getScriptName
- Specified by:
getScriptNamein interfaceVehicleSoundOwner
-
getScript
- Specified by:
getScriptin interfaceVehicleSoundOwner
-
getEngineCondition
public int getEngineCondition()- Specified by:
getEngineConditionin interfaceVehicleSoundOwner
-
getEngineState
- Specified by:
getEngineStatein interfaceVehicleSoundOwner
-
isEngineRunning
public boolean isEngineRunning()- Specified by:
isEngineRunningin interfaceVehicleSoundOwner
-
isEngineSounding
public boolean isEngineSounding()- Specified by:
isEngineSoundingin interfaceVehicleSoundOwner
-
getEngineSpeed
public double getEngineSpeed()- Specified by:
getEngineSpeedin interfaceVehicleSoundOwner
-
getTransmissionNumber
public int getTransmissionNumber()- Specified by:
getTransmissionNumberin interfaceVehicleSoundOwner
-
getCurrentSpeedKmHour
public float getCurrentSpeedKmHour()- Specified by:
getCurrentSpeedKmHourin interfaceVehicleSoundOwner
-
isAlarmSounding
public boolean isAlarmSounding()- Specified by:
isAlarmSoundingin interfaceVehicleSoundOwner
-
isBrakePedalPressed
public boolean isBrakePedalPressed()- Specified by:
isBrakePedalPressedin interfaceVehicleSoundOwner
-
isGasPedalPressed
public boolean isGasPedalPressed()- Specified by:
isGasPedalPressedin interfaceVehicleSoundOwner
-
getRoadMaterial
- Specified by:
getRoadMaterialin interfaceVehicleSoundOwner
-
getChosenAlarmSound
- Specified by:
getChosenAlarmSoundin interfaceVehicleSoundOwner
-
isBackupBeeperSounding
public boolean isBackupBeeperSounding()- Specified by:
isBackupBeeperSoundingin interfaceVehicleSoundOwner
-
isDoorAlarmSounding
public boolean isDoorAlarmSounding()- Specified by:
isDoorAlarmSoundingin interfaceVehicleSoundOwner
-
isHornSounding
public boolean isHornSounding()- Specified by:
isHornSoundingin interfaceVehicleSoundOwner
-
getEmitter
- Specified by:
getEmitterin interfaceVehicleSoundOwner
-
isAnyListenerInside
public boolean isAnyListenerInside()- Specified by:
isAnyListenerInsidein interfaceVehicleSoundOwner
-
isSirenSounding
public boolean isSirenSounding()- Specified by:
isSirenSoundingin interfaceVehicleSoundOwner
-
getLightbarSirenModeObject
- Specified by:
getLightbarSirenModeObjectin interfaceVehicleSoundOwner
-
getMaxWheelSteering
public float getMaxWheelSteering()- Specified by:
getMaxWheelSteeringin interfaceVehicleSoundOwner
-
getMinWheelSkid
public float getMinWheelSkid()- Specified by:
getMinWheelSkidin interfaceVehicleSoundOwner
-
isAnyTireMissing
public boolean isAnyTireMissing()- Specified by:
isAnyTireMissingin interfaceVehicleSoundOwner
-
update
public void update() -
remove
public void remove() -
getFMODParameters
- Specified by:
getFMODParametersin interfacefmod.fmod.IFMODParameterUpdater
-
startEvent
- Specified by:
startEventin interfacefmod.fmod.IFMODParameterUpdater
-
updateEvent
- Specified by:
updateEventin interfacefmod.fmod.IFMODParameterUpdater
-
stopEvent
- Specified by:
stopEventin interfacefmod.fmod.IFMODParameterUpdater
-