mam.sound
Class EventSoundInstance


public class EventSoundInstance


Field Summary
 (package private) AudioClipm_clip
           
 (package private) intm_duration
           
 (package private) booleanm_loop
           
 (package private) doublem_maxKeyValue
           
 (package private) doublem_minKeyValue
           
 (package private) intm_startDelay
           
 (package private) Stringm_traitKey
           
 (package private) doublem_weight
           

Constructor Summary
EventSoundInstance(String traitKey, double minKeyValue, double maxKeyValue, AudioClip clip, double weight, int startDelay, int duration, boolean loop)
           

Method Summary
 AudioClipgetClip()
           
 intgetDuration()
           
 booleangetLoop()
           
 doublegetMaxKeyValue()
           
 doublegetMinKeyValue()
           
 intgetStartDelay()
           
 StringgetTraitKey()
           
 doublegetWeight()
           
 voidsetClip(AudioClip clip)
           
 voidsetDuration(int duration)
           
 voidsetLoop(boolean loop)
           
 voidsetMaxKeyValue(double maxKeyValue)
           
 voidsetMinKeyValue(double minKeyValue)
           
 voidsetStartDelay(int startDelay)
           
 voidsetTraitKey(String traitKey)
           
 voidsetWeight(double weight)
           

Field Detail

m_clip

AudioClip m_clip

m_duration

int m_duration

m_loop

boolean m_loop

m_maxKeyValue

double m_maxKeyValue

m_minKeyValue

double m_minKeyValue

m_startDelay

int m_startDelay

m_traitKey

String m_traitKey

m_weight

double m_weight
Constructor Detail

EventSoundInstance

public EventSoundInstance(String traitKey, double minKeyValue, double maxKeyValue, AudioClip clip, double weight, int startDelay, int duration, boolean loop)
Method Detail

getClip

public AudioClip getClip()

getDuration

public int getDuration()

getLoop

public boolean getLoop()

getMaxKeyValue

public double getMaxKeyValue()

getMinKeyValue

public double getMinKeyValue()

getStartDelay

public int getStartDelay()

getTraitKey

public String getTraitKey()

getWeight

public double getWeight()

setClip

public void setClip(AudioClip clip)

setDuration

public void setDuration(int duration)

setLoop

public void setLoop(boolean loop)

setMaxKeyValue

public void setMaxKeyValue(double maxKeyValue)

setMinKeyValue

public void setMinKeyValue(double minKeyValue)

setStartDelay

public void setStartDelay(int startDelay)

setTraitKey

public void setTraitKey(String traitKey)

setWeight

public void setWeight(double weight)