Package zombie.radio.StorySounds
Class StorySound
java.lang.Object
zombie.radio.StorySounds.StorySound
public class StorySound
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected float
baseVolume
protected java.lang.String
name
-
Constructor Summary
Constructors Constructor Description StorySound(java.lang.String name, float baseVol)
-
Method Summary
Modifier and Type Method Description float
getBaseVolume()
StorySound
getClone()
java.lang.String
getName()
long
playSound()
long
playSound(float volumeOverride)
long
playSound(float x, float y, float z, float minRange, float maxRange)
long
playSound(float volumeMod, float x, float y, float z, float minRange, float maxRange)
void
setBaseVolume(float baseVolume)
void
setName(java.lang.String name)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
name
protected java.lang.String name -
baseVolume
protected float baseVolume
-
-
Constructor Details
-
StorySound
public StorySound(java.lang.String name, float baseVol)
-
-
Method Details
-
playSound
public long playSound() -
playSound
public long playSound(float volumeOverride) -
playSound
public long playSound(float x, float y, float z, float minRange, float maxRange) -
playSound
public long playSound(float volumeMod, float x, float y, float z, float minRange, float maxRange) -
getName
public java.lang.String getName() -
setName
public void setName(java.lang.String name) -
getBaseVolume
public float getBaseVolume() -
setBaseVolume
public void setBaseVolume(float baseVolume) -
getClone
-