Class AnimalSoundState
java.lang.Object
zombie.characters.animals.AnimalSoundState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlonglonglongintbooleanbooleanbooleanvoidsetDesiredSoundName(String soundName) voidsetDesiredSoundPriority(int priority) voidsetIntervalExpireTime(String id, long ms) booleanlongvoidstop()
-
Constructor Details
-
AnimalSoundState
-
-
Method Details
-
getAnimal
-
getEventInstance
public long getEventInstance() -
getLastPlayedTimeMS
-
getPriority
public int getPriority() -
setDesiredSoundPriority
public void setDesiredSoundPriority(int priority) -
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
-