Class AnimalSoundState
java.lang.Object
zombie.characters.animals.AnimalSoundState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlonglonggetIntervalExpireTime(String arg0) longgetLastPlayedTimeMS(String arg0) intbooleanbooleanbooleanvoidsetDesiredSoundName(String arg0) voidsetDesiredSoundPriority(int arg0) voidsetIntervalExpireTime(String arg0, long arg1) booleanlongvoidstop()
-
Constructor Details
-
AnimalSoundState
-
-
Method Details
-
getAnimal
-
getEventInstance
public long getEventInstance() -
getLastPlayedTimeMS
-
getPriority
public int getPriority() -
setDesiredSoundPriority
public void setDesiredSoundPriority(int arg0) -
getDesiredSoundPriority
public int getDesiredSoundPriority() -
shouldPlay
public boolean shouldPlay() -
setDesiredSoundName
-
getDesiredSoundName
-
setIntervalExpireTime
-
getIntervalExpireTime
-
start
-
stop
public void stop() -
isPlaying
public boolean isPlaying() -
isPlayingDesiredSound
public boolean isPlayingDesiredSound() -
isPlaying
-